PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/Account/password-retrieval.aspx

#
ASP.NET | 31 lines | 29 code | 2 blank | 0 comment | 0 complexity | 9c8faa1216b06b1c2160487c0b341a0c MD5 | raw file
 1<%@ Page Title="Password Retrieval" Language="C#" MasterPageFile="~/Account/account.master" AutoEventWireup="true" Inherits="Account.PasswordRetrieval" Codebehind="password-retrieval.aspx.cs" %>
 2
 3<%@ MasterType VirtualPath="~/Account/account.master" %>
 4<%@ Import Namespace="BlogEngine.Core" %>
 5
 6<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
 7</asp:Content>
 8<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
 9    <div class="page-header clearfix">
10        <h3>
11            <%=Resources.labels.passwordRetrieval %></h3>
12    </div>
13    <p>
14        <%=Resources.labels.passwordRetrievalInstructionMessage %>
15    </p>
16    <br />
17    <div class="account-content">
18        <div class="form-group">
19            <asp:TextBox ID="txtUser" runat="server" placeholder="User name" AutoCompleteType="None" CssClass="textEntry form-control "></asp:TextBox>
20        </div>
21        <div class="btn-wrapper text-right">
22            <a href="<%= Utils.RelativeWebRoot %>Account/login.aspx" class="btn btn-default"><%=Resources.labels.cancel %></a>
23            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="<%$Resources:labels,send %>" CssClass="btn btn-primary" OnClick="LoginButton_Click" OnClientClick="return ValidatePasswordRetrieval()" />
24        </div>
25    </div>
26    <script type="text/javascript">
27        $(document).ready(function () {
28            $("input[name$='txtUser']").focus();
29        });
30    </script>
31</asp:Content>