<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Web.adminm._default" %>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<title>无标题文档</title>
<link rel="stylesheet" href="/css/login.css" />
</head>

<body>
	 <form id="form1" runat="server">
<div class="login">
	<div class="welcome"> <div class ="biaoti">    <asp:Label ID="biaoti" runat="server"></asp:Label><asp:Label ID="OA_projectA" runat="server"></asp:Label></div> </div>
	<div class="login-form">
		<div class="login-inp"><label>登录</label>
			  <asp:TextBox ID="tbUserName" runat="server"  type="text" autocapitalize="off" autocomplete="off"
            autocorrect="off" MaxLength="25"></asp:TextBox>
		</div>
		<div class="login-inp"><label>密码</label>
		        <asp:TextBox ID="tbPassword" runat="server" type="password" 
            MaxLength="20" autocomplete="off"></asp:TextBox></div>

		<div class="login-inp">
			  <asp:LinkButton ID="lbLogin" 
                runat="server"  onclick="lbLogin_Click" 
                ValidationGroup="login">登  录</asp:LinkButton>
		</div>
	</div>
	<div class="login-txt">

		       <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="login"
                                    ControlToValidate="tbUserName" Display="Dynamic" ErrorMessage="请输入登录名。" 
                                    ForeColor="Red"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ValidationGroup="login"
                                    ControlToValidate="tbUserName" Display="Dynamic" ErrorMessage="登录名不合规范。" 
                                    ValidationExpression="^[a-zA-Z0-9\u4e00-\u9fa5]{2,20}" ForeColor="Red"></asp:RegularExpressionValidator>
		  <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ValidationGroup="login"
                                    ControlToValidate="tbPassword" Display="Dynamic" ErrorMessage="请输入密码。" 
                                    ForeColor="Red"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ValidationGroup="login"
                                    ControlToValidate="tbPassword" Display="Dynamic" ErrorMessage="密码不合规范。" 
                                    ValidationExpression="^[a-zA-Z0-9\u4e00-\u9fa5]{6,20}" ForeColor="Red"></asp:RegularExpressionValidator>


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