comparison rhodecode/templates/register.html @ 4116:ffd45b185016 rhodecode-2.2.5-gpl

Imported some of the GPLv3'd changes from RhodeCode v2.2.5. This imports changes between changesets 21af6c4eab3d and 6177597791c2 in RhodeCode's original repository, including only changes to Python files and HTML. RhodeCode clearly licensed its changes to these files under GPLv3 in their /LICENSE file, which states the following: The Python code and integrated HTML are licensed under the GPLv3 license. (See: https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE or http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE for an online copy of that LICENSE file) Conservancy reviewed these changes and confirmed that they can be licensed as a whole to the Kallithea project under GPLv3-only. While some of the contents committed herein are clearly licensed GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the statement above from RhodeCode indicates that they intend GPLv3-only as their license, per GPLv3ยง14 and other relevant sections of GPLv3.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:03:13 -0400
parents 3b136af34329
children 05ed7e20bd0f
comparison
equal deleted inserted replaced
4115:8b7294a804a0 4116:ffd45b185016
1 ## -*- coding: utf-8 -*- 1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.html"/> 2 <%inherit file="base/root.html"/>
3 3
4 <%def name="title()"> 4 <%def name="title()">
5 ${_('Sign Up')} &middot; ${c.rhodecode_name} 5 ${_('Sign Up')}
6 %if c.rhodecode_name:
7 &middot; ${c.rhodecode_name}
8 %endif
6 </%def> 9 </%def>
10 <div id="header">
11 <div id="header-inner" class="title">
12 <div id="logo">
13 <div class="header">
14 <a href="${h.url('home')}"><img src="/images/rhodecode-logo-white-216x60.png" alt="RhodeCode"/></a>
15 </div>
16 %if c.rhodecode_name:
17 <div class="branding">- ${c.rhodecode_name}</div>
18 %endif
19 </div>
20 </div>
21 </div>
22
7 23
8 <div id="register"> 24 <div id="register">
9 <div class="flash_msg"> 25 <%include file="/base/flash_msg.html"/>
10 <% messages = h.flash.pop_messages() %> 26 <div class="title withlogo">
11 % if messages: 27 %if c.rhodecode_name:
12 <ul id="flash-messages"> 28 <h5>${_('Sign Up to %s') % c.rhodecode_name}</h5>
13 % for message in messages: 29 %else:
14 <li class="${message.category}_msg">${message}</li> 30 <h5>${_('Sign Up')}</h5>
15 % endfor 31 %endif
16 </ul>
17 % endif
18 </div>
19 <div class="title top-left-rounded-corner top-right-rounded-corner">
20 <h5>${_('Sign Up to')} ${c.rhodecode_name}</h5>
21 </div> 32 </div>
22 <div class="inner"> 33 <div class="inner">
23 ${h.form(url('register'))} 34 ${h.form(url('register'))}
24 <div class="form"> 35 <div class="form">
25 <!-- fields --> 36 <!-- fields -->
76 <div class="input"> 87 <div class="input">
77 ${h.text('email',class_="medium")} 88 ${h.text('email',class_="medium")}
78 </div> 89 </div>
79 </div> 90 </div>
80 91
92 %if c.captcha_active:
93 <div class="field">
94 <div class="label">
95 <label for="email">${_('Captcha')}:</label>
96 </div>
97 <div class="input">
98 ${h.hidden('recaptcha_field')}
99 <div id="recaptcha"></div>
100 </div>
101 </div>
102 %endif
103
81 <div class="buttons"> 104 <div class="buttons">
82 <div class="nohighlight"> 105 <div class="nohighlight">
83 ${h.submit('sign_up',_('Sign Up'),class_="ui-btn large")} 106 ${h.submit('sign_up',_('Sign Up'),class_="btn")}
84 %if c.auto_active: 107 %if c.auto_active:
85 <div class="activation_msg">${_('Your account will be activated right after registration')}</div> 108 <div class="activation_msg">${_('Your account will be activated right after registration')}</div>
86 %else: 109 %else:
87 <div class="activation_msg">${_('Your account must wait for activation by administrator')}</div> 110 <div class="activation_msg">${_('Your account must wait for activation by administrator')}</div>
88 %endif 111 %endif
89 </div> 112 </div>
90 </div> 113 </div>
91 </div> 114 </div>
92 </div> 115 </div>
93 ${h.end_form()} 116 ${h.end_form()}
117 %if c.captcha_active:
118 <script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
119 %endif
94 <script type="text/javascript"> 120 <script type="text/javascript">
95 YUE.onDOMReady(function(){ 121 $(document).ready(function(){
96 YUD.get('username').focus(); 122 $('#username').focus();
97 }) 123
124 %if c.captcha_active:
125 Recaptcha.create("${c.captcha_public_key}", "recaptcha",
126 {
127 theme: "white",
128 }
129 );
130 %endif
131 });
98 </script> 132 </script>
99 </div> 133 </div>
100 </div> 134 </div>