-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsignup.html
executable file
·69 lines (64 loc) · 1.51 KB
/
signup.html
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
<script>
$('#signUpButton').button({
icons: {
primary: "ui-icon-triangle-1-e",
secondary: "ui-icon-triangle-1-e"
}
});
$('#backButton').button({
icons: {
primary: "ui-icon-triangle-1-w",
secondary: "ui-icon-triangle-1-w"
}
});
$('#signUpButton').click(function() {
var firstName = $.trim($('#firstName').val());
var lastName = $.trim($('#lastName').val());
var mail = $.trim($('#email').val());
var passwd = $.trim($('#password').val());
var confirmPasswd = $('#confirm').val();
createUser(mail, firstName, lastName, passwd, confirmPasswd);
});
$('#backButton').click(function() {
window.location = 'login.html';
});
</script>
<table width="100%">
<tr>
<td>First Name:</td>
<td>
<input id="firstName" class="ui-widget ui-corner-all loginInput" value="">
</td>
</tr>
<tr>
<td>Last Name:</td>
<td>
<input id="lastName" class="ui-widget ui-corner-all loginInput" value="">
</td>
</tr>
<tr>
<td>Email:</td>
<td>
<input id="email" class="ui-widget ui-corner-all loginInput" value="">
</td>
</tr>
<tr>
<td>Password:</td>
<td>
<input id="password" type="password" class="ui-widget ui-corner-all loginInput" >
</td>
</tr>
<tr>
<td>Confirm:</td>
<td>
<input id="confirm" type="password" class="ui-widget ui-corner-all loginInput" >
</td>
</tr>
<tr>
<td></td>
<td nowrap>
<a id="signUpButton" href="javascript:void(0)">Sign Up</a>
<a id="backButton" href="javascript:void(0)">Back</a>
</td>
</tr>
</table>