register.html
91 lines
| 2.9 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
r1157 | <%inherit file="base/root.html"/> | |||
r547 | ||||
r1157 | <%def name="title()"> | |||
${_('Sign Up')} - ${c.rhodecode_name} | ||||
</%def> | ||||
r1888 | ||||
r1157 | <div id="register"> | |||
r1888 | ||||
r1157 | <div class="title top-left-rounded-corner top-right-rounded-corner"> | |||
<h5>${_('Sign Up to')} ${c.rhodecode_name}</h5> | ||||
</div> | ||||
<div class="inner"> | ||||
${h.form(url('register'))} | ||||
<div class="form"> | ||||
<!-- fields --> | ||||
<div class="fields"> | ||||
<div class="field"> | ||||
<div class="label"> | ||||
<label for="username">${_('Username')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
${h.text('username',class_="medium")} | ||||
</div> | ||||
</div> | ||||
r1888 | ||||
r1157 | <div class="field"> | |||
<div class="label"> | ||||
<label for="password">${_('Password')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
${h.password('password',class_="medium")} | ||||
</div> | ||||
</div> | ||||
r1888 | ||||
r1157 | <div class="field"> | |||
<div class="label"> | ||||
<label for="password">${_('Re-enter password')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
${h.password('password_confirmation',class_="medium")} | ||||
</div> | ||||
</div> | ||||
r1888 | ||||
r1157 | <div class="field"> | |||
<div class="label"> | ||||
r2595 | <label for="firstname">${_('First Name')}:</label> | |||
r1157 | </div> | |||
<div class="input"> | ||||
r2595 | ${h.text('firstname',class_="medium")} | |||
r1157 | </div> | |||
</div> | ||||
r1888 | ||||
r1157 | <div class="field"> | |||
<div class="label"> | ||||
<label for="lastname">${_('Last Name')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
${h.text('lastname',class_="medium")} | ||||
</div> | ||||
</div> | ||||
r1888 | ||||
r1157 | <div class="field"> | |||
<div class="label"> | ||||
<label for="email">${_('Email')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
${h.text('email',class_="medium")} | ||||
</div> | ||||
</div> | ||||
r1888 | ||||
r1157 | <div class="buttons"> | |||
<div class="nohighlight"> | ||||
r2607 | ${h.submit('sign_up',_('Sign Up'),class_="ui-btn large")} | |||
r1157 | %if c.auto_active: | |||
<div class="activation_msg">${_('Your account will be activated right after registration')}</div> | ||||
%else: | ||||
<div class="activation_msg">${_('Your account must wait for activation by administrator')}</div> | ||||
%endif | ||||
</div> | ||||
r1888 | </div> | |||
r1157 | </div> | |||
r547 | </div> | |||
r1157 | ${h.end_form()} | |||
r1202 | <script type="text/javascript"> | |||
YUE.onDOMReady(function(){ | ||||
YUD.get('username').focus(); | ||||
}) | ||||
r1888 | </script> | |||
</div> | ||||
r1157 | </div> | |||