##// END OF EJS Templates
old style: fix icons using the existing images instead of the custom font awesome it has been marked up for
old style: fix icons using the existing images instead of the custom font awesome it has been marked up for

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4145:47690c87 rhodecode-2.2.5-gpl
Show More
user_add.html
110 lines | 3.2 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${_('Add user')}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Users'),h.url('users'))}
renamed project to rhodecode
r547 &raquo;
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${_('Add User')}
renamed project to rhodecode
r547 </%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
renamed project to rhodecode
r547 </%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </div>
<!-- end box / title -->
${h.form(url('users'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
fixed search button
r582 ${h.text('username',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
fixed search button
r582 ${h.password('password',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
implements #237 added password confirmation for my account and admin edit user.
r1597 <div class="field">
<div class="label">
<label for="password_confirmation">${_('Password confirmation')}:</label>
</div>
<div class="input">
${h.password('password_confirmation',class_="small",autocomplete="off")}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
<div class="label">
renamed some leftover name -> firstname
r2595 <label for="firstname">${_('First Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
renamed some leftover name -> firstname
r2595 ${h.text('firstname',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
fixes #66 leftover
r725 <label for="lastname">${_('Last Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
fixed search button
r582 ${h.text('lastname',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
fixed search button
r582 ${h.text('email',class_='small')}
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${h.hidden('extern_name', c.default_extern_type)}
${h.hidden('extern_type', c.default_extern_type)}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
</div>
<div class="checkboxes">
#344 optional firstname lastname on user creation...
r1950 ${h.checkbox('active',value=True,checked='checked')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="buttons">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${h.submit('save',_('Save'),class_="btn")}
White-space cleanup
r1888 </div>
Mads Kiilerich
html: don't use tabs
r3197 </div>
renamed project to rhodecode
r547 </div>
${h.end_form()}
White-space cleanup
r1888 </div>
</%def>
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <script>
$(document).ready(function(){
$('#username').focus();
})
</script>