@@ -930,96 +930,99 @@ padding:5px 0 0 5px;
#content div.box-left div.form div.fields div.field div.label-select,#content div.box-right div.form div.fields div.field div.label-select {
padding:0 0 8px;
}
#content div.box-left div.form div.fields div.field div.label-textarea,#content div.box-right div.form div.fields div.field div.label-textarea {
padding:0 0 8px !important;
#content div.box div.form div.fields div.field div.label label, div.label label{
color:#393939;
font-weight:700;
#content div.box div.form div.fields div.field div.input {
margin:0 0 0 200px;
#content div.box div.form div.fields div.field div.file {
#content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input {
margin:0 0 0 0px;
#content div.box div.form div.fields div.field div.input input {
background:#FFF;
border-top:1px solid #b3b3b3;
border-left:1px solid #b3b3b3;
border-right:1px solid #eaeaea;
border-bottom:1px solid #eaeaea;
color:#000;
font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
font-size:11px;
margin:0;
padding:7px 7px 6px;
#content div.box div.form div.fields div.field div.file input {
background: none repeat scroll 0 0 #FFFFFF;
border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3;
border-style: solid;
border-width: 1px;
color: #000000;
font-family: Lucida Grande,Verdana,Lucida Sans Regular,Lucida Sans Unicode,Arial,sans-serif;
font-size: 11px;
margin: 0;
padding: 7px 7px 6px;
input.disabled {
background-color: #F5F5F5 !important;
#content div.box div.form div.fields div.field div.input input.small {
width:30%;
#content div.box div.form div.fields div.field div.input input.medium {
width:55%;
#content div.box div.form div.fields div.field div.input input.large {
width:85%;
#content div.box div.form div.fields div.field div.input input.date {
width:177px;
#content div.box div.form div.fields div.field div.input input.button {
background:#D4D0C8;
border-top:1px solid #FFF;
border-left:1px solid #FFF;
border-right:1px solid #404040;
border-bottom:1px solid #404040;
padding:4px 8px;
#content div.box div.form div.fields div.field div.textarea {
padding:10px;
#content div.box div.form div.fields div.field div.textarea-editor {
border:1px solid #ddd;
padding:0;
#content div.box div.form div.fields div.field div.textarea textarea {
width:100%;
height:220px;
overflow:hidden;
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Edit user')} ${c.user.username} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${h.link_to(_('Users'),h.url('users'))}
${_('edit')} "${c.user.username}"
<%def name="page_nav()">
${self.menu('admin')}
<%def name="main()">
<div class="box box-left">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
${h.form(url('update_user', id=c.user.user_id),method='put')}
<div class="form">
<div class="field">
<div class="gravatar_box">
<div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div>
<p>
%if c.use_gravatar:
<strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong>
<br/>${_('Using')} ${c.user.email}
%else:
<br/>${c.user.email}
%endif
<div class="label">
<label>${_('API key')}</label> ${c.user.api_key}
<div class="fields">
<label for="username">${_('Username')}:</label>
<div class="input">
${h.text('username',class_='medium')}
<label for="ldap_dn">${_('LDAP DN')}:</label>
${h.text('ldap_dn',class_='medium')}
${h.text('ldap_dn',class_='medium disabled',readonly="readonly")}
<label for="new_password">${_('New password')}:</label>
${h.password('new_password',class_='medium',autocomplete="off")}
<label for="password_confirmation">${_('New password confirmation')}:</label>
${h.password('password_confirmation',class_="medium",autocomplete="off")}
<label for="name">${_('First Name')}:</label>
${h.text('name',class_='medium')}
<label for="lastname">${_('Last Name')}:</label>
${h.text('lastname',class_='medium')}
<label for="email">${_('Email')}:</label>
${h.text('email',class_='medium')}
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
<div class="checkboxes">
${h.checkbox('active',value=True)}
<label for="admin">${_('Admin')}:</label>
${h.checkbox('admin',value=True)}
<div class="buttons">
${h.submit('save',_('Save'),class_="ui-button")}
${h.reset('reset',_('Reset'),class_="ui-button")}
${h.end_form()}
<div class="box box-right">
<h5>${_('Permissions')}</h5>
${h.form(url('user_perm', id=c.user.user_id),method='put')}
<!-- fields -->
<label for="create_repo_perm">${_('Create repositories')}:</label>
${h.checkbox('create_repo_perm',value=True)}
Status change: