@@ -975,6 +975,9 @@ padding:7px 7px 6px;
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%;
@@ -6,9 +6,9 @@
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${h.link_to(_('Users'),h.url('users'))}
${_('edit')} "${c.user.username}"
@@ -21,7 +21,7 @@
<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')}
@@ -35,7 +35,7 @@
<br/>${_('Using')} ${c.user.email}
%else:
<br/>${c.user.email}
%endif
<div class="field">
@@ -43,7 +43,7 @@
<label>${_('API key')}</label> ${c.user.api_key}
<div class="fields">
<div class="label">
@@ -53,16 +53,16 @@
${h.text('username',class_='medium')}
<label for="ldap_dn">${_('LDAP DN')}:</label>
<div class="input">
${h.text('ldap_dn',class_='medium')}
${h.text('ldap_dn',class_='medium disabled',readonly="readonly")}
<label for="new_password">${_('New password')}:</label>
@@ -71,7 +71,7 @@
${h.password('new_password',class_='medium',autocomplete="off")}
<label for="password_confirmation">${_('New password confirmation')}:</label>
@@ -80,7 +80,7 @@
${h.password('password_confirmation',class_="medium",autocomplete="off")}
<label for="name">${_('First Name')}:</label>
@@ -89,7 +89,7 @@
${h.text('name',class_='medium')}
<label for="lastname">${_('Last Name')}:</label>
@@ -98,7 +98,7 @@
${h.text('lastname',class_='medium')}
<label for="email">${_('Email')}:</label>
@@ -107,7 +107,7 @@
${h.text('email',class_='medium')}
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
@@ -116,7 +116,7 @@
${h.checkbox('active',value=True)}
<label for="admin">${_('Admin')}:</label>
@@ -124,19 +124,19 @@
<div class="checkboxes">
${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')}
<div class="form">
@@ -153,9 +153,9 @@
Status change: