64 lines
3.2 KiB
Plaintext
64 lines
3.2 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="Name" LabelWidth="140px">
|
|
</f:Label>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:Label ID="txtAccount" runat="server" Label="Account" LabelWidth="140px">
|
|
</f:Label>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:TextBox ID="txtOldPassword" Label="Old password" TextMode="Password" FocusOnPageLoad="true"
|
|
EmptyText="Enter old password" Required="true" ShowRedStar="true" runat="server" LabelWidth="140px">
|
|
</f:TextBox>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:TextBox ID="txtNewPassword" Label="New password" TextMode="Password" Regex="^(?![a-zA-Z0-9]+$)(?![^a-zA-Z/D]+$)(?![^0-9/D]+$).{6,20}$"
|
|
RegexMessage="A password is made up of alphanumeric characters and special characters of not less than 6 digits!" EmptyText="Enter new password" Required="true" ShowRedStar="true" runat="server" LabelWidth="140px">
|
|
</f:TextBox>
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow>
|
|
<Items>
|
|
<f:TextBox ID="txtConfirmPassword" Label="Confirm password" TextMode="Password"
|
|
EmptyText="Enter the new password again" Required="true" ShowRedStar="true" runat="server" EnableBlurEvent="true" OnBlur="txtConfirmPassword_Blur" LabelWidth="140px">
|
|
</f:TextBox>
|
|
</Items>
|
|
</f:FormRow>
|
|
</Rows>
|
|
<Toolbars>
|
|
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
|
<Items>
|
|
<f:Button ID="btnSave" Icon="SystemSave" Text="Save" runat="server" ToolTip="Save" ValidateForms="SimpleForm1"
|
|
OnClick="btnSave_Click">
|
|
</f:Button>
|
|
<f:Button ID="btnClose" EnablePostBack="false" Text="Close" ToolTip="Close" runat="server" Icon="SystemClose">
|
|
</f:Button>
|
|
</Items>
|
|
</f:Toolbar>
|
|
</Toolbars>
|
|
</f:Form>
|
|
</form>
|
|
</body>
|
|
</html>
|