<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ResMangSys.Default0" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>登录界面</title>
    <link href="Styles/default.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color:skyblue;">
    <form id="form1" runat="server">
    <div style="width:100%; text-align:center;margin-bottom:12px;">
    <h2>
        欢迎使用网络资源管理系统－－登录界面
    </h2>
    </div>
    
    <div style="position:absolute; left:40%; top:15%; width:49%; height: 410px; outline-color:Blue;">
    <br /><br />
    <p>
        请输入用户名和密码。
    </p> 
        <div id="login">
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" 
                 ValidationGroup="LoginUserValidationGroup"/>
            <div class="accountInfo">
                <div class="login">
                    <p>帐户信息</p>
                    <p>
                        <lable id="roleLabel" for="ddlRole">身 份:</lable>
                        <asp:DropDownList ID="ddlRole" runat="server">
                            <asp:ListItem Value="manager">管理员</asp:ListItem>
                            <asp:ListItem Value="advUser">高级用户</asp:ListItem>
                            <asp:ListItem Selected="True" Value="user">普通用户</asp:ListItem>
                        </asp:DropDownList>
                    </p>
                    <p>
                        <lable id="UserNameLabel" for="UserName">用户名:</lable>
                        <asp:TextBox ID="UserName" runat="server" CssClass="textEntry" Width="158px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" 
                             CssClass="failureNotification" ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" 
                             ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                    </p>
                    <p>
                        <lable id="PasswordLabel"  for="Password">密 码 :</lable>
                        <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" 
                            TextMode="Password" Width="168px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" 
                             CssClass="failureNotification" ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" 
                             ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                    </p>
                </div>
                <p class="submitButton">
                    <asp:Button ID="LoginButton" runat="server" Text="登录" 
                        ValidationGroup="LoginUserValidationGroup" onclick="LoginButton_Click"/>
                </p>
                 
            </div>
           
        </div>
          
        </div>
    </form>
</body>
</html>
