-
Notifications
You must be signed in to change notification settings - Fork 7
/
SignUp.aspx
130 lines (127 loc) · 7.52 KB
/
SignUp.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SignUp.aspx.cs" Inherits="WiselySplit.SignUp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
#signUpForm {
height: 677px;
width: 1232px;
}
</style>
</head>
<body>
<form id="signUpForm" runat="server" style="font-family: 'Segoe UI'; font-weight: normal; background-color: #FFFFFF; margin-right: 5px;">
<div style="width: 100%; height: 31px; text-align:center; background-color: #000000;">
s<asp:Label ID="headerLabel" runat="server" ForeColor="White" Text="Welcome to WiselySplit" BackColor="Black"></asp:Label>
</div>
<br />
<div style="height: 29px; width: 352px; margin-left: 3%">
<asp:Label ID="signUpLbl" runat="server" ForeColor="Blue" Text="Sign Up to start using WiselySplit"></asp:Label>
</div>
<div style="margin-left:3%;"><asp:Label ID="existingUserLbl" runat="server" ForeColor="Blue" Text="It seems you are an existing user, please sign in with account associated with " Visible="False"></asp:Label></div>
<br />
<div class="formContainer">
<div>
<div style="float:left; width: 30%; padding-left:3%;">
<asp:Label ID="UsernameLbl" runat="server" Text="Username" ForeColor="Blue"></asp:Label>
<asp:Label ID="unameAsterick" runat="server" Text="*" ForeColor="Red"></asp:Label>
</div>
<div style="float:left;">
<asp:TextBox ID="unameTxtBox" runat="server"></asp:TextBox>
</div>
<asp:RequiredFieldValidator ID="unameValidator" runat="server" ControlToValidate="unameTxtBox" ErrorMessage="Username is a required field" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
<asp:Label ID="unameTakenLbl" runat="server" Text="Username is already taken, please choose a different one" ForeColor="Red" Visible="False"></asp:Label>
</div>
<br />
<div>
<div style="float:left; width: 30%; padding-left:3%;">
<asp:Label ID="PasswordLbl" runat="server" Text="Password" ForeColor="Blue"></asp:Label>
<asp:Label ID="passAsterick" runat="server" Text="*" ForeColor="Red"></asp:Label>
</div>
<div style="float:left;">
<asp:TextBox ID="upassTxtBox" runat="server" TextMode="Password"></asp:TextBox>
</div>
<asp:RequiredFieldValidator ID="passValidator" runat="server" ControlToValidate="upassTxtBox" ErrorMessage="Password is a required field" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<br />
<div>
<div style="float:left; width: 30%; padding-left:3%;">
<asp:Label ID="ConfirmPasswordLbl" runat="server" Text="Confirm Password" ForeColor="Blue"></asp:Label>
<asp:Label ID="confirmPassAsterick" runat="server" Text="*" ForeColor="Red"></asp:Label>
</div>
<div style="float:left;">
<asp:TextBox ID="confirmPassTxtBox" runat="server" TextMode="Password"></asp:TextBox>
</div>
<asp:RequiredFieldValidator ID="confirmpassValidator" runat="server" ControlToValidate="confirmPassTxtBox" ErrorMessage="Confirm Password is a required field" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<br />
<div>
<div style="float:left; width: 30%; padding-left:3%;">
<asp:Label ID="EmailLbl" runat="server" Text="Email" ForeColor="Blue"></asp:Label>
<asp:Label ID="emailAsterick" runat="server" Text="*" ForeColor="Red"></asp:Label>
</div>
<div style="float:left;">
<asp:TextBox ID="emailTxtBox" runat="server" TextMode="Email"></asp:TextBox>
</div>
<asp:RequiredFieldValidator ID="emailRequiredValidator" runat="server" ControlToValidate="emailTxtBox" ErrorMessage="Email is a required field" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<br />
<div>
<div style="float:left; width: 30%; padding-left:3%;">
<asp:Label ID="QuestionLbl" runat="server" Text="Security Question" ForeColor="Blue"></asp:Label>
<asp:Label ID="quesAsterick" runat="server" Text="*" ForeColor="Red"></asp:Label>
</div>
<div style="float:left;">
<asp:TextBox ID="questionTxtBox" runat="server"></asp:TextBox>
</div>
<asp:RequiredFieldValidator ID="questionValidator" runat="server" ControlToValidate="questionTxtBox" ErrorMessage="Security Question is a required field" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<br />
<div>
<div style="float:left; width: 30%; padding-left:3%;">
<asp:Label ID="AnswerLbl" runat="server" Text="Security Answer" ForeColor="Blue"></asp:Label>
<asp:Label ID="ansAsterick" runat="server" Text="*" ForeColor="Red"></asp:Label>
</div>
<div style="float:left;">
<asp:TextBox ID="answerTxtBox" runat="server"></asp:TextBox>
</div>
<asp:RequiredFieldValidator ID="anserValidator" runat="server" ControlToValidate="answerTxtBox" ErrorMessage="Security Answer is a required field" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
<br />
<asp:Label ID="passMatchErrorLbl" runat="server" Text="Password and Confirm Password must be same" ForeColor="Red" Visible="False"></asp:Label>
<br />
<asp:RegularExpressionValidator ID="emailValidator" runat="server" ControlToValidate="emailTxtBox" ErrorMessage="Please enter a valid email address" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
<br />
<br />
<div style="width: 517px; margin-left:3%">
<asp:Label ID="errorLbl" runat="server" Text="Something went wrong, please try again" ForeColor="Red" Visible="False"></asp:Label>
</div>
<br />
</div>
<div style="height: 39px">
<div style="float:left; margin-left:15%;">
<asp:Button ID="signUpBtn" runat="server" Text="Sign Up" BackColor="#0033CC" BorderColor="White" BorderStyle="None" BorderWidth="5px" ForeColor="White" Height="38px" Width="120px" OnClick="signUpBtn_Click" />
</div>
<div style="float:left; margin-left:15%;">
<asp:Button ID="cancelBtn" runat="server" Text="Cancel" BackColor="#0033CC" BorderColor="White" BorderStyle="None" BorderWidth="5px" ForeColor="White" Height="38px" Width="120px" OnClick="cancelBtn_Click" />
</div>
</div>
</form>
</body>
</html>