<%@ Page Title="" Language="C#" MasterPageFile="~/m/m.Master" AutoEventWireup="true"  Inherits="Book.MyProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


    
     <header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">个人档案</h1>
         <a class="mui-icon mui-icon-bars mui-pull-right" href="default.aspx"></a>
 </header>
    

    <style>
        .item span {
         display:inline-block; width:25%;
        }
       .item input,    .item select{   margin:0px;   border:solid 1px #ccc; width:65%; border-radius:0px; }

       #head-img1 {
    
    width: 40px;
    height:40px;
}
    </style>


        <div class="mui-content">
        <div class="mui-page">
            <div class="feedback">
                
                <p>基本信息</p>


                <ul class="mui-table-view mui-table-view-chevron">
                	<li class="mui-table-view-cell">
								 头像
								<span class="mui-pull-right head">
									<img onclick="alert('本系统不允许用户自己修改头像，如需修改请联系管理员')" class="head-img mui-action-preview" id="head-img1" src=<%=avtor %> />
								</span>
							 
							</li>
                    </ul>

                <ul class="mui-table-view">

                    <li class="mui-table-view-cell item" >
                       <span>用户名</span>
				 
                       <asp:TextBox  Enabled="false"    ID="username" ForeColor="Gray"     runat="server"></asp:TextBox> 
                    
                    </li>

                      <li class="mui-table-view-cell item" >
                       <span>密码</span>
				 
                        <asp:TextBox ID="password" placeholder="为空表示密码表示不变"    runat="server" TextMode="Password"></asp:TextBox>
                    
                    </li>

                      <li class="mui-table-view-cell item" >
                       <span>部门</span>
				 
                        <asp:TextBox ID="department"     runat="server"  ></asp:TextBox>
                    
                    </li>


                       <li class="mui-table-view-cell item" >
                       <span>邮件</span>
				 
                        <asp:TextBox ID="email"    runat="server" TextMode="Password"></asp:TextBox>
                    
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="邮件格式不正确"
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"　 Display="Dynamic"
         ControlToValidate="email"></asp:RegularExpressionValidator> 

                    </li>


                 <li class="mui-table-view-cell item" >
                      <span>电话</span>

                          <asp:TextBox ID="tel"     runat="server"></asp:TextBox>  

                    </li>
                     

                    
                 <li class="mui-table-view-cell item" >
                      <span>显示名</span>

                          <asp:TextBox ID="txt_displayname"    runat="server"></asp:TextBox>

                    </li>

                     <li class="mui-table-view-cell item" >
                      <span>员工号</span>

                          <asp:TextBox ID="txt_staffcode"  Enabled="false" ForeColor="Gray"   runat="server"></asp:TextBox>

                    </li>





                    </ul>
              
                
                
                 
                
                   <ul class="mui-table-view">

                    <li class="mui-table-view-cell item" >
                       <span>私人手机</span>
                         <asp:TextBox ID="mobile"      runat="server"></asp:TextBox> 
                       </li>

                        <li class="mui-table-view-cell item" >
                       <span>传真</span>
                         <asp:TextBox ID="fax"      runat="server"></asp:TextBox> 
                       </li>


                       
                        <li class="mui-table-view-cell item" >
                       <span>办公室</span>
                         <asp:TextBox ID="office"      runat="server"></asp:TextBox> 
                       </li>


                          <li class="mui-table-view-cell item" >
                       <span>职务</span>
                         <asp:TextBox ID="txt_title"      runat="server"></asp:TextBox> 
                       </li>
                 
                         <li class="mui-table-view-cell item" >
                       <span>性别</span>
                          <asp:DropDownList ID="ddl_sex"     runat="server">
              <asp:ListItem Text="" Value=""></asp:ListItem>
              <asp:ListItem Text="男" Value="男"></asp:ListItem>
              <asp:ListItem Text="女" Value="女"></asp:ListItem>
              </asp:DropDownList> 
                             </li>


                       
                          <li class="mui-table-view-cell item" >
                       <span>自我简介</span>
                         <asp:TextBox ID="txt_intro"      runat="server"></asp:TextBox> 
                       </li>


                             </ul>
                
                 
               
                
                
                
                  </div>
            </div>
        </div>
        






    
    
     <div style=" margin:10px;">
    
    
      <asp:Button ID="submit"  runat="server" OnClick="submit_Click"  CssClass="mui-btn mui-btn-block mui-btn-primary"      class="btn btn-success" Text="更新" />
        
          
        
    </div>
    
    
      
    
    
     <div style="display:none">
         
         
       <asp:textbox id="image_small"   CssClass="form-control"  Runat="server"></asp:textbox>
       <asp:textbox id="image_big"   Runat="server" Visible="false"></asp:textbox>
        	
     </div>














       <asp:PlaceHolder runat="server" ID="ph_notshou" Visible="false">

               <asp:CheckBox ID="cb_ismgr" runat="server"  Text="经理" />  
		 
		 <asp:CheckBox ID="cb_issec" runat="server"  Text="秘书"/> 
		 
		 	 <asp:CheckBox ID="cb_isstaff" runat="server"  Text="Staff成员"/>
      </asp:PlaceHolder>
        
        
        
        
        
        
        
        
       
        
         
         
        

</asp:Content>
