Mercurial > kallithea
annotate rhodecode/templates/register.html @ 4147:1c8f818787b3 rhodecode-2.2.5-gpl
old style: show the full link box on summary page - no overlap or truncation
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jul 2014 19:03:23 -0400 |
parents | 05ed7e20bd0f |
children |
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()"> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
5 ${_('Sign Up')} |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
6 %if c.rhodecode_name: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
7 · ${c.rhodecode_name} |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
8 %endif |
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
|
9 </%def> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
10 <div id="header"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
11 <div id="header-inner" class="title"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
12 <div id="logo"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
13 <div class="header"> |
4140
05ed7e20bd0f
old style: use kallithea-logo.png in page headers
Mads Kiilerich <madski@unity3d.com>
parents:
4116
diff
changeset
|
14 <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
15 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
16 %if c.rhodecode_name: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
17 <div class="branding">- ${c.rhodecode_name}</div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
18 %endif |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
19 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
20 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
21 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
22 |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
23 |
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
|
24 <div id="register"> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
25 <%include file="/base/flash_msg.html"/> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
26 <div class="title withlogo"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
27 %if c.rhodecode_name: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
28 <h5>${_('Sign Up to %s') % c.rhodecode_name}</h5> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
29 %else: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
30 <h5>${_('Sign Up')}</h5> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
31 %endif |
3197 | 32 </div> |
33 <div class="inner"> | |
34 ${h.form(url('register'))} | |
35 <div class="form"> | |
36 <!-- fields --> | |
37 <div class="fields"> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
38 <div class="field"> |
3197 | 39 <div class="label"> |
40 <label for="username">${_('Username')}:</label> | |
41 </div> | |
42 <div class="input"> | |
43 ${h.text('username',class_="medium")} | |
44 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
45 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
46 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
47 <div class="field"> |
3197 | 48 <div class="label"> |
49 <label for="password">${_('Password')}:</label> | |
50 </div> | |
51 <div class="input"> | |
52 ${h.password('password',class_="medium")} | |
53 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
54 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
55 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
56 <div class="field"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
57 <div class="label"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
58 <label for="password">${_('Re-enter password')}:</label> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
59 </div> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
60 <div class="input"> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
61 ${h.password('password_confirmation',class_="medium")} |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
62 </div> |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
63 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
64 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
65 <div class="field"> |
3197 | 66 <div class="label"> |
67 <label for="firstname">${_('First Name')}:</label> | |
68 </div> | |
69 <div class="input"> | |
70 ${h.text('firstname',class_="medium")} | |
71 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
72 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
73 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
74 <div class="field"> |
3197 | 75 <div class="label"> |
76 <label for="lastname">${_('Last Name')}:</label> | |
77 </div> | |
78 <div class="input"> | |
79 ${h.text('lastname',class_="medium")} | |
80 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
81 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
82 |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
83 <div class="field"> |
3197 | 84 <div class="label"> |
85 <label for="email">${_('Email')}:</label> | |
86 </div> | |
87 <div class="input"> | |
88 ${h.text('email',class_="medium")} | |
89 </div> | |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
90 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
91 |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
92 %if c.captcha_active: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
93 <div class="field"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
94 <div class="label"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
95 <label for="email">${_('Captcha')}:</label> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
96 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
97 <div class="input"> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
98 ${h.hidden('recaptcha_field')} |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
99 <div id="recaptcha"></div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
100 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
101 </div> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
102 %endif |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
103 |
3197 | 104 <div class="buttons"> |
105 <div class="nohighlight"> | |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
106 ${h.submit('sign_up',_('Sign Up'),class_="btn")} |
3197 | 107 %if c.auto_active: |
108 <div class="activation_msg">${_('Your account will be activated right after registration')}</div> | |
109 %else: | |
110 <div class="activation_msg">${_('Your account must wait for activation by administrator')}</div> | |
111 %endif | |
112 </div> | |
113 </div> | |
114 </div> | |
115 </div> | |
116 ${h.end_form()} | |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
117 %if c.captcha_active: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
118 <script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script> |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
119 %endif |
1202
eef9e273347a
added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents:
1157
diff
changeset
|
120 <script type="text/javascript"> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
121 $(document).ready(function(){ |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
122 $('#username').focus(); |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
123 |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
124 %if c.captcha_active: |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
125 Recaptcha.create("${c.captcha_public_key}", "recaptcha", |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
126 { |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
127 theme: "white", |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
128 } |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
129 ); |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
130 %endif |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4074
diff
changeset
|
131 }); |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
132 </script> |
3197 | 133 </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
|
134 </div> |