-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.aspx
33 lines (32 loc) · 1.58 KB
/
login.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true" ValidateRequest="false" CodeBehind="login.aspx.cs" Inherits="FooBlog.login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
<h4>login</h4>
<asp:Panel ID="errorPanel" runat="server" Visible="False">
<asp:Label ID="errorLabel" ForeColor="red" runat="server"></asp:Label>
</asp:Panel>
<asp:Panel ID="formPanel" runat="server">
<div class="row">
<div class="input-field col s6">
<asp:TextBox ID="usernameText" MaxLength="32" runat="server"></asp:TextBox>
<label for="mainContent_usernameText">Username</label>
</div>
<div class="input-field col s6">
<asp:TextBox ID="passText" MaxLength="128" TextMode="Password" runat="server"></asp:TextBox>
<label for="mainContent_passText">Password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12 center-align">
<a id="loginButton" class="waves-effect waves-light blue lighten-1 btn-large" onclick="doLogin();">Login</a>
</div>
</div>
<div class="row">
<div class="col s12 center-align">
<p style="text-align: center"><a href="reset_pass.aspx">Forgotten your password?</a></p>
</div>
</div>
</asp:Panel>
<asp:HiddenField ID="RequestToken" runat="server" />
</asp:Content>