comparison Demo/Asp.Net/Web/SignIn.aspx @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 <%@ Page AutoEventWireup="true" Language="C#" MasterPageFile="~/MasterPage.master" Title="Sign In" %>
2 <asp:Content ID="cntPage" runat="Server" ContentPlaceHolderID="cphPage">
3 <div align="center" class="signinPosition">
4 <asp:Login ID="Login" runat="server" CreateUserUrl="~/NewUser.aspx" SkinID="Login" FailureText="Login failed. Please try again.">
5 <LayoutTemplate>
6 <table border="0" align="center" width="387">
7 <tr>
8 <td>
9 <asp:Panel ID="panFocus" runat="server" DefaultButton="LoginButton">
10 <table border="0" cellpadding="0">
11 <tr><td align="left" class="signinHeader" colspan="2">Please Sign In</td></tr>
12 <tr>
13 <td align="left" class="signinLabel">
14 <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td>
15 <td>
16 <asp:TextBox ID="UserName" runat="server" CssClass="signinTextbox" Width="155px"></asp:TextBox>
17 <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
18 ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login">*</asp:RequiredFieldValidator>
19 </td>
20 </tr>
21 <tr>
22 <td align="left" class="signinLabel">
23 <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td>
24 <td>
25 <asp:TextBox ID="Password" runat="server" CssClass="signinTextbox" TextMode="Password"
26 Width="155px"></asp:TextBox>
27 <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
28 ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login">*</asp:RequiredFieldValidator>
29 </td>
30 </tr>
31 <tr>
32 <td align="left" colspan="2" style="color: red">
33 <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>&nbsp;
34 </td>
35 </tr>
36 <tr>
37 <td align="right" colspan="2">
38 <asp:Button ID="LoginButton" runat="server" CommandName="Login" CssClass="signinButton"
39 ForeColor="White" Text="Sign In" ValidationGroup="Login" />
40 </td>
41 </tr>
42 <tr>
43 <td align="left" colspan="2" style="height: 50px">
44 <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />
45 </td>
46 </tr>
47 <tr>
48 <td align="left" class="linkNewUser" colspan="2">
49 <asp:HyperLink ID="CreateUserLink" runat="server" NavigateUrl="~/NewUser.aspx">Not registered yet?</asp:HyperLink>
50 </td>
51 </tr>
52 </table>
53 </asp:Panel>
54 </td>
55 </tr>
56 </table>
57 </LayoutTemplate>
58 </asp:Login>
59 </div>
60 </asp:Content>
61