|
1 |
| -<%@ Page Title="Log in" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CSharp.Account.Login" %> |
2 |
| -<%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %> |
3 |
| - |
4 |
| -<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent"> |
5 |
| - <hgroup class="title"> |
6 |
| - <h1><%: Title %>.</h1> |
7 |
| - </hgroup> |
8 |
| - <section id="loginForm"> |
9 |
| - <h2>Use a local account to log in.</h2> |
10 |
| - <asp:Login runat="server" ViewStateMode="Disabled" RenderOuterTable="false"> |
11 |
| - <LayoutTemplate> |
12 |
| - <p class="validation-summary-errors"> |
13 |
| - <asp:Literal runat="server" ID="FailureText" /> |
14 |
| - </p> |
15 |
| - <fieldset> |
16 |
| - <legend>Log in Form</legend> |
17 |
| - <ol> |
18 |
| - <li> |
19 |
| - <asp:Label runat="server" AssociatedControlID="UserName">User name</asp:Label> |
20 |
| - <asp:TextBox runat="server" ID="UserName" /> |
21 |
| - <asp:RequiredFieldValidator runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="The user name field is required." /> |
22 |
| - </li> |
23 |
| - <li> |
24 |
| - <asp:Label runat="server" AssociatedControlID="Password">Password</asp:Label> |
25 |
| - <asp:TextBox runat="server" ID="Password" TextMode="Password" /> |
26 |
| - <asp:RequiredFieldValidator runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="The password field is required." /> |
27 |
| - </li> |
28 |
| - <li> |
29 |
| - <asp:CheckBox runat="server" ID="RememberMe" /> |
30 |
| - <asp:Label runat="server" AssociatedControlID="RememberMe" CssClass="checkbox">Remember me?</asp:Label> |
31 |
| - </li> |
32 |
| - </ol> |
33 |
| - <asp:Button runat="server" CommandName="Login" Text="Log in" /> |
34 |
| - </fieldset> |
35 |
| - </LayoutTemplate> |
36 |
| - </asp:Login> |
37 |
| - <p> |
38 |
| - <asp:HyperLink runat="server" ID="RegisterHyperLink" ViewStateMode="Disabled">Register</asp:HyperLink> |
39 |
| - if you don't have an account. |
40 |
| - </p> |
41 |
| - </section> |
42 |
| - |
43 |
| - <section id="socialLoginForm"> |
44 |
| - <h2>Use another service to log in.</h2> |
45 |
| - <uc:OpenAuthProviders runat="server" ID="OpenAuthLogin" /> |
46 |
| - </section> |
47 |
| -</asp:Content> |
| 1 | +<%@ Page Title="Log in" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CSharp.Account.Login" %> |
| 2 | +<%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %> |
| 3 | + |
| 4 | +<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent"> |
| 5 | + <hgroup class="title"> |
| 6 | + <h1><%: Title %>.</h1> |
| 7 | + </hgroup> |
| 8 | + <section id="loginForm"> |
| 9 | + <h2>Use a local account to log in.</h2> |
| 10 | + <asp:Login runat="server" ViewStateMode="Disabled" RenderOuterTable="false"> |
| 11 | + <LayoutTemplate> |
| 12 | + <p class="validation-summary-errors"> |
| 13 | + <asp:Literal runat="server" ID="FailureText" /> |
| 14 | + </p> |
| 15 | + <fieldset> |
| 16 | + <legend>Log in Form</legend> |
| 17 | + <ol> |
| 18 | + <li> |
| 19 | + <asp:Label runat="server" AssociatedControlID="UserName">User name</asp:Label> |
| 20 | + <asp:TextBox runat="server" ID="UserName" /> |
| 21 | + <asp:RequiredFieldValidator runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="The user name field is required." /> |
| 22 | + </li> |
| 23 | + <li> |
| 24 | + <asp:Label runat="server" AssociatedControlID="Password">Password</asp:Label> |
| 25 | + <asp:TextBox runat="server" ID="Password" TextMode="Password" /> |
| 26 | + <asp:RequiredFieldValidator runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="The password field is required." /> |
| 27 | + </li> |
| 28 | + <li> |
| 29 | + <asp:CheckBox runat="server" ID="RememberMe" /> |
| 30 | + <asp:Label runat="server" AssociatedControlID="RememberMe" CssClass="checkbox">Remember me?</asp:Label> |
| 31 | + </li> |
| 32 | + </ol> |
| 33 | + <asp:Button runat="server" CommandName="Login" Text="Log in" /> |
| 34 | + </fieldset> |
| 35 | + </LayoutTemplate> |
| 36 | + </asp:Login> |
| 37 | + <p> |
| 38 | + <asp:HyperLink runat="server" ID="RegisterHyperLink" ViewStateMode="Disabled">Register</asp:HyperLink> |
| 39 | + if you don't have an account. |
| 40 | + </p> |
| 41 | + </section> |
| 42 | + |
| 43 | + <section id="socialLoginForm"> |
| 44 | + <h2>Use another service to log in.</h2> |
| 45 | + <uc:OpenAuthProviders runat="server" ID="OpenAuthLogin" /> |
| 46 | + </section> |
| 47 | +</asp:Content> |
0 commit comments