blob: 611c0526ff150ba777fec4dfdc447f1414795f9e (
plain) (
blame)
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
|
<% include ../templates/header %>
<link rel="stylesheet" href="/css/login.css" />
</head>
<body>
<input type="hidden" id="userId">
<div id="account-form-container">
<form method="post" id="account-form" class="form-horizontal well span6">
<h1></h1>
<p id="sub1" class="subheading">Please tell us a little about yourself.</p>
<hr>
<fieldset>
<div id="name-cg" class="control-group">
<label for="name-tf" class="control-label">Name</label>
<div class="controls">
<input id="name-tf" type="text" name="name" class="input-xlarge">
</div>
</div>
<div id="email-cg" class="control-group">
<label for="email-tf" class="control-label">Email</label>
<div class="controls">
<% if (invite) { %>
<span class="input uneditable-input"><%= email %></span>
<% } else { %>
<input id="email-tf" type="text" name="email" class="input-xlarge">
<% } %>
</div>
</div>
<hr>
<p id="sub2" class="subheading"></p>
<div id="user-cg" class="control-group">
<label for="user-tf" class="control-label">Username</label>
<div class="controls">
<input id="user-tf" type="text" name="username" class="input-xlarge disabled">
</div>
</div>
<div id="pass-cg" class="control-group">
<label for="pass-tf" class="control-label">Password</label>
<div class="controls">
<input id="pass-tf" type="password" name="password" value="" class="input-xlarge">
</div>
</div>
<div class="form-actions">
<button type="button" id="account-form-btn1" class="btn">Cancel</button>
<button type="submit" id="account-form-btn2" class="btn">Submit</button>
</div>
</fieldset>
</form>
</div>
<!-- display form errors in a custom modal window //-->
<div class="modal-form-errors modal hide fade">
<div class="modal-header">
<button data-dismiss="modal" class="close">x</button>
<h3>Whoops!</h3>
</div>
<div class="modal-body">
<p class="subheading">It looks like there was a problem.</p>
<ul></ul>
</div>
<div class="modal-footer">
<button data-dismiss="modal" class="btn btn-warning">OK</button>
</div>
</div>
<div class="modal-alert modal hide fade">
<div class="modal-header">
<button data-dismiss="modal" class="close">x</button>
<h3></h3>
</div>
<div class="modal-body">
<p></p>
</div>
<div class="modal-footer">
<button data-dismiss="modal" id="ok" class="btn btn-warning">OK</button>
</div>
</div>
<script src="/js/views/signup.js"></script>
<script src="/js/form-validators/accountValidator.js"></script>
<script src="/js/controllers/signupController.js"></script>
<% include ../templates/footer %>
|