<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Helpdesk.Login" %>
 

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
  <title>登陆</title>
  <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  <script src="javascript/jquery-1.9.1.min.js"></script>
  <script src="bootstrap/js/bootstrap.min.js"></script>  
  <link href="Style/patch.css" rel="stylesheet" />


 <style>
        .bgimg{
    position:fixed;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    min-width: 1000px;
    z-index:-10;
    zoom: 1;
    background-color: #fff;
    background: url(images/loginbg.jpg) no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-position: center 0;
}
    </style>


</head>

<body   class="bgimg"  >
    <form id="form1" runat="server">
       

   <style>
   .box {
    box-shadow: 0px 5px 15px 1px rgba(0,0,0,0.1);
     width: 450px;
    border-radius: 10px;
    text-align: left;
    background: #ffffff;
    border: 1px #dddddd solid; 
    margin:100px auto 20px auto;
    opacity:0.8; 
    }
 
 

.blank20 {
    height: 20px;
    overflow: hidden;
    width: 100%;
}
    
  .form-control,.btn{ border-radius:0px; }
        </style>



        <div class="box">
		 <div class="blank20"></div>
		
            
            <div style=" text-align:center">

            <img    src="images/logo.png"  class="img-circle"
                align="absmiddle" height="90px" width="90px" >

            <div style="font-size:22px; margin-top:20px; color:#008bdb">
                <%=Company.Name %>Helpdesk系统 
            </div>
         </div>


		<div class="blank20"></div>


		<div style="padding:10px 80px 20px 80px;"  >
			
				 
			 
		
             <asp:TextBox   ID="txt_username" CssClass=" form-control" placeholder="请输入登录名"   runat="server"></asp:TextBox> 
            <asp:RequiredFieldValidator ControlToValidate="txt_username" ID="RequiredFieldValidator2" runat="server" ErrorMessage="用户名不能够为空" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
				
                <div class="blank20"></div>
				 
             <asp:TextBox ID="txt_pwd"    CssClass=" form-control"  placeholder="请输入密码"  runat="server" TextMode="Password"></asp:TextBox> 
             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="密码不能够为空" ControlToValidate="txt_pwd" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>


				<div class="blank20"></div>
			 
		

			
             

			<div style="text-align:center">

				  <asp:Button ID="Button1" runat="server" Width="100%"
                       onclick="Button1_Click" class="btn btn-primary" Text="登陆"  CssClass="btn btn-primary" />
		
			   <div class="blank20"></div>

           
                  <a href="getpassword.aspx" target="_blank">忘记密码？</a>

             
       
                <div class="blank20"></div>


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

 
         
     
    </form>
</body>
</html>
