FineUI/FineUI.Examples/basic/login_captcha.aspx
三生石上 8e116609c6 v4.2.0
2015-05-19 14:45:47 +08:00

59 lines
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_captcha.aspx.cs"
Inherits="FineUI.Examples.basic.login_captcha" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<link href="../res/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
用户名admin
<br />
密码admin
<br />
<br />
<f:Window ID="Window1" runat="server" Title="登录表单" IsModal="false" EnableClose="false"
WindowPosition="GoldenSection" Width="350px">
<Items>
<f:SimpleForm ID="SimpleForm1" runat="server" ShowBorder="false" BodyPadding="10px"
LabelWidth="60px" ShowHeader="false">
<Items>
<f:TextBox ID="tbxUserName" Label="用户名" Required="true" runat="server">
</f:TextBox>
<f:TextBox ID="tbxPassword" Label="密码" TextMode="Password" Required="true" runat="server">
</f:TextBox>
<f:TextBox ID="tbxCaptcha" Label="验证码" Required="true" runat="server">
</f:TextBox>
<f:Panel CssStyle="padding-left:65px;" ShowBorder="false" ShowHeader="false"
runat="server">
<Items>
<f:Image ID="imgCaptcha" CssStyle="float:left;width:160px;" runat="server">
</f:Image>
<f:LinkButton CssStyle="float:left;margin-top:8px;" ID="btnRefresh" Text="看不清?"
runat="server" OnClick="btnRefresh_Click">
</f:LinkButton>
</Items>
</f:Panel>
</Items>
</f:SimpleForm>
</Items>
<Toolbars>
<f:Toolbar ID="Toolbar1" runat="server" ToolbarAlign="Right" Position="Bottom">
<Items>
<f:Button ID="btnLogin" Text="登录" Type="Submit" ValidateForms="SimpleForm1" ValidateTarget="Top"
runat="server" OnClick="btnLogin_Click">
</f:Button>
<f:Button ID="btnReset" Text="重置" Type="Reset" EnablePostBack="false"
runat="server">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Window>
</form>
</body>
</html>