Mercurial > kallithea
annotate rhodecode/templates/register.html @ 3882:2c5ceb546234 beta
renamed gists routing to proper plural names
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 20 May 2013 21:40:00 +0200 |
parents | 1f334a68d057 |
children | 3563bb7b4b82 |
rev | line source |
---|---|
362 | 1 ## -*- coding: utf-8 -*- |
1157
41241617a7a3
rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
2 <%inherit file="base/root.html"/> |
362 | 3 |
1157
41241617a7a3
rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
4 <%def name="title()"> |
3582
1f334a68d057
improved title consistency
Marcin Kuzminski <marcin@python-works.com>
parents:
3198
diff
changeset
|
5 ${_('Sign Up')} · ${c.rhodecode_name} |
1157
41241617a7a3
rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
6 </%def> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
7 |
1157
41241617a7a3
rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
8 <div id="register"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
9 |
3197 | 10 <div class="title top-left-rounded-corner top-right-rounded-corner"> |
11 <h5>${_('Sign Up to')} ${c.rhodecode_name}</h5> | |
12 </div> | |
13 <div class="inner"> | |
14 ${h.form(url('register'))} | |
15 <div class="form"> | |
16 <!-- fields --> | |
17 <div class="fields"> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
18 <div class="field"> |
3197 | 19 <div class="label"> |
20 <label for="username">${_('Username')}:</label> | |
21 </div> | |
22 <div class="input"> | |
23 ${h.text('username',class_="medium")} | |
24 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
25 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
26 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
27 <div class="field"> |
3197 | 28 <div class="label"> |
29 <label for="password">${_('Password')}:</label> | |
30 </div> | |
31 <div class="input"> | |
32 ${h.password('password',class_="medium")} | |
33 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
34 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
35 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
36 <div class="field"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
37 <div class="label"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
38 <label for="password">${_('Re-enter password')}:</label> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
39 </div> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
40 <div class="input"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
41 ${h.password('password_confirmation',class_="medium")} |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
42 </div> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
43 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
44 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
45 <div class="field"> |
3197 | 46 <div class="label"> |
47 <label for="firstname">${_('First Name')}:</label> | |
48 </div> | |
49 <div class="input"> | |
50 ${h.text('firstname',class_="medium")} | |
51 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
52 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
53 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
54 <div class="field"> |
3197 | 55 <div class="label"> |
56 <label for="lastname">${_('Last Name')}:</label> | |
57 </div> | |
58 <div class="input"> | |
59 ${h.text('lastname',class_="medium")} | |
60 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
61 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
62 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
63 <div class="field"> |
3197 | 64 <div class="label"> |
65 <label for="email">${_('Email')}:</label> | |
66 </div> | |
67 <div class="input"> | |
68 ${h.text('email',class_="medium")} | |
69 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
70 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
71 |
3197 | 72 <div class="buttons"> |
73 <div class="nohighlight"> | |
74 ${h.submit('sign_up',_('Sign Up'),class_="ui-btn large")} | |
75 %if c.auto_active: | |
76 <div class="activation_msg">${_('Your account will be activated right after registration')}</div> | |
77 %else: | |
78 <div class="activation_msg">${_('Your account must wait for activation by administrator')}</div> | |
79 %endif | |
80 </div> | |
81 </div> | |
82 </div> | |
83 </div> | |
84 ${h.end_form()} | |
1202
eef9e273347a
added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents:
1157
diff
changeset
|
85 <script type="text/javascript"> |
eef9e273347a
added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents:
1157
diff
changeset
|
86 YUE.onDOMReady(function(){ |
eef9e273347a
added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents:
1157
diff
changeset
|
87 YUD.get('username').focus(); |
eef9e273347a
added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents:
1157
diff
changeset
|
88 }) |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
89 </script> |
3197 | 90 </div> |
1157
41241617a7a3
rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
91 </div> |