<%@ 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>
  
    <style>
    .red{color:red}
    </style>
</head>

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

    <asp:Panel runat="server" ID="pnl_quick"   >
     <style>
 
      .regs{width:480px; margin:0 auto;  margin-top:100px; }
     </style>

    </asp:Panel>
      
      
    <asp:Panel runat="server" ID="pnl_normal"    >
     
       <style>
 
      .regs{width:480px; margin:0 auto;  margin-top:100px; }
     </style>

    </asp:Panel>

    <asp:Panel runat="server" ID="pnl_header">
    
     <style>
        body {
       font-family:Verdana; font-size:12px;
      }
   </style>

    
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="default.aspx">启明星Helpdesk系统</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right"> 
            
        <asp:Literal  runat="server" ID="lbluser"></asp:Literal> 
         
               <asp:PlaceHolder ID="pn3" runat="server" Visible="false"><li><a   href="../admin"> 管理 (Admin)</a></li></asp:PlaceHolder>
 
            <li><a href="http://www.dotnetcms.org">关于</a></li>
               <li><a href="#"></a></li>
          </ul>
           
        </div>
      </div>
    </nav>

 </asp:Panel>





 

      
     <table border="0"  class="regs"  >
        <tbody>
           
         
        <tr>     
          <td  width=80px >用户名</td>
          <td  > 
             <asp:TextBox   ID="txt_username" CssClass=" form-control"   runat="server"></asp:TextBox> 
            <asp:RequiredFieldValidator ControlToValidate="txt_username" ID="RequiredFieldValidator2" runat="server" ErrorMessage="用户名不能够为空" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
           
        <td width=60px align="right">密码</td>
        <td  > 
             <asp:TextBox ID="txt_pwd"    CssClass=" form-control"   runat="server" TextMode="Password"></asp:TextBox> 
             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="密码不能够为空" ControlToValidate="txt_pwd" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
         </td>
         
         </tr>
         
         <tr>
         
         <td colspan="4" align="center">
         
          <br /> 
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" class="btn" Text="登陆"  CssClass="btn btn-primary" />
      




<asp:Panel runat="server" ID="pnl_allowregister">
      <br />  <a href="register.aspx" target="_blank">新用户注册</a>
        
</asp:Panel>
       
        
         </td>
         </tr>
         
        </tbody>
         </table>
          
     
    </form>
</body>
</html>