YZ_BSF/HJGL/FineUIPro.Web/common/SysManage/UpdatePasswordEdit.aspx

65 lines
3.1 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdatePasswordEdit.aspx.cs" Inherits="FineUIPro.Web.common.SysManage.UpdatePasswordEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>修改密码</title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:Label ID="txtUserName" runat="server" Label="<%$ Resources:Lan,UserName %>">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="txtAccount" runat="server" Label="<%$ Resources:Lan,Account %>">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtOldPassword" Label="<%$ Resources:Lan,OldPassword %>" TextMode="Password" FocusOnPageLoad="true"
EmptyText="<%$ Resources:Lan,OldPassword %>" Required="true" ShowRedStar="true" runat="server">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtNewPassword" Label="<%$ Resources:Lan,NewPassword %>" TextMode="Password" Regex="^(?![a-zA-Z0-9]+$)(?![^a-zA-Z/D]+$)(?![^0-9/D]+$).{6,20}$"
RegexMessage="<%$ Resources:Lan,PasswordRules %>" EmptyText="<%$ Resources:Lan,NewPassword %>" Required="true" ShowRedStar="true" runat="server">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtConfirmPassword" Label="<%$ Resources:Lan,ConfirmPassword %>" TextMode="Password"
EmptyText="<%$ Resources:Lan,ConfirmNewPassword %>" Required="true" ShowRedStar="true" runat="server" EnableBlurEvent="true" OnBlur="txtConfirmPassword_Blur">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="<%$ Resources:Lan,Save %>" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" Text="<%$ Resources:Lan,Close %>" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>