diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -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%; diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html --- a/rhodecode/templates/admin/users/user_edit.html +++ b/rhodecode/templates/admin/users/user_edit.html @@ -6,9 +6,9 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} - » - ${h.link_to(_('Users'),h.url('users'))} + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${h.link_to(_('Users'),h.url('users'))} » ${_('edit')} "${c.user.username}" @@ -21,7 +21,7 @@
- ${self.breadcrumbs()} + ${self.breadcrumbs()}
${h.form(url('update_user', id=c.user.user_id),method='put')} @@ -35,7 +35,7 @@
${_('Using')} ${c.user.email} %else:
${c.user.email} - %endif + %endif
@@ -43,7 +43,7 @@ ${c.user.api_key}
- +
@@ -53,16 +53,16 @@ ${h.text('username',class_='medium')}
- +
- ${h.text('ldap_dn',class_='medium')} + ${h.text('ldap_dn',class_='medium disabled',readonly="readonly")}
- +
@@ -71,7 +71,7 @@ ${h.password('new_password',class_='medium',autocomplete="off")}
- +
@@ -80,7 +80,7 @@ ${h.password('password_confirmation',class_="medium",autocomplete="off")}
- +
@@ -89,7 +89,7 @@ ${h.text('name',class_='medium')}
- +
@@ -98,7 +98,7 @@ ${h.text('lastname',class_='medium')}
- +
@@ -107,7 +107,7 @@ ${h.text('email',class_='medium')}
- +
@@ -116,7 +116,7 @@ ${h.checkbox('active',value=True)}
- +
@@ -124,19 +124,19 @@
${h.checkbox('admin',value=True)}
-
+
${h.submit('save',_('Save'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")} -
-
+ + ${h.end_form()}
-
${_('Permissions')}
+
${_('Permissions')}
${h.form(url('user_perm', id=c.user.user_id),method='put')}
@@ -153,9 +153,9 @@
${h.submit('save',_('Save'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")} -
-
+
+ - ${h.end_form()} + ${h.end_form()}