<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Edit.aspx.cs" Inherits="JRAPI.Admin.Systematic.Admin_Edit" %>
<%@ Register src="../Controls/SubPageTop.ascx" tagname="SubPageTop" tagprefix="uc1" %>
<uc1:SubPageTop ID="SubPageTop1" runat="server" />
<body>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='admin_list.aspx' ><em>管理员管理</em></a><span>|</span><a href='javascript:;' class="on"><em>修改管理员</em></a>    </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style><script type="text/javascript">
<!--
            $(function () {
                $.formValidator.initConfig({ autotip: true, formid: "myform", onerror: function (msg) { } });
                $("#txtAdminName").formValidator({ onshow: "请输入管理员名称", onfocus: "管理员名称应该为2-50位之间" }).inputValidator({ min: 2, max: 50, onerror: "管理员名称应该为2-50位之间" });
                $("#dpdGroup").formValidator({ onshow: "请选择管理员组", onfocus: "请选择管理员组" }).inputValidator({ min: 1, onerror: "请选择管理员组" });
                $("#txtAdminPass").formValidator({ empty: true, onshow: "不修改密码请留空", onfocus: "请输入管理员密码" }).inputValidator({ min: 1, max: 50, onerror: "请正确输入管理员密码" });
                $("#txtAdminPass2").formValidator({ empty: true, onshow: "不修改密码请留空", onfocus: "两次密码输入不同。", oncorrect: "密码输入一致" }).compareValidator({ desid: "txtAdminPass", operateor: "=", onerror: "两次密码输入不同。" });
            })
//-->
</script>
<div class="pad_10">
<div class="common-form">
<form runat="server" id="myform">
<table width="100%" class="table_form contentWrap">
<tr>
<td width="100">管理员名称</td> 
<td><asp:TextBox ID="txtAdminName" runat="server" CssClass="input-text" Columns="50"></asp:TextBox></td>
</tr>
<tr>
<td width="100">所属组</td> 
<td>
    <asp:DropDownList ID="dpdGroup" runat="server" AppendDataBoundItems="True">
    <asp:ListItem>请选择组</asp:ListItem>
    </asp:DropDownList>
</td>
</tr>
<tr>
<td>管理员密码</td>
<td>
<asp:TextBox ID="txtAdminPass" runat="server" CssClass="input-text" MaxLength="32" 
        TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td>确认管理员密码</td>
<td>
<asp:TextBox ID="txtAdminPass2" runat="server" CssClass="input-text" MaxLength="32" 
        TextMode="Password"></asp:TextBox>
</td>
</tr>

</table>
    <div class="bk15"></div>
<asp:Button ID="btnSubmit" runat="server" Text="提交" CssClass="button" 
    onclick="btnSubmit_Click" />
</form>
</div>
</div>
</body>
</html>
