##// END OF EJS Templates
marked ldap_dn in user edit form as readonly ref #292
marcink -
r1907:79183c13 default
parent child Browse files
Show More
@@ -975,6 +975,9 b' padding:7px 7px 6px;'
975 975 padding: 7px 7px 6px;
976 976 }
977 977
978 input.disabled {
979 background-color: #F5F5F5 !important;
980 }
978 981
979 982 #content div.box div.form div.fields div.field div.input input.small {
980 983 width:30%;
@@ -6,9 +6,9 b''
6 6 </%def>
7 7
8 8 <%def name="breadcrumbs_links()">
9 ${h.link_to(_('Admin'),h.url('admin_home'))}
10 &raquo;
11 ${h.link_to(_('Users'),h.url('users'))}
9 ${h.link_to(_('Admin'),h.url('admin_home'))}
10 &raquo;
11 ${h.link_to(_('Users'),h.url('users'))}
12 12 &raquo;
13 13 ${_('edit')} "${c.user.username}"
14 14 </%def>
@@ -21,7 +21,7 b''
21 21 <div class="box box-left">
22 22 <!-- box / title -->
23 23 <div class="title">
24 ${self.breadcrumbs()}
24 ${self.breadcrumbs()}
25 25 </div>
26 26 <!-- end box / title -->
27 27 ${h.form(url('update_user', id=c.user.user_id),method='put')}
@@ -35,7 +35,7 b''
35 35 <br/>${_('Using')} ${c.user.email}
36 36 %else:
37 37 <br/>${c.user.email}
38 %endif
38 %endif
39 39 </div>
40 40 </div>
41 41 <div class="field">
@@ -43,7 +43,7 b''
43 43 <label>${_('API key')}</label> ${c.user.api_key}
44 44 </div>
45 45 </div>
46
46
47 47 <div class="fields">
48 48 <div class="field">
49 49 <div class="label">
@@ -53,16 +53,16 b''
53 53 ${h.text('username',class_='medium')}
54 54 </div>
55 55 </div>
56
56
57 57 <div class="field">
58 58 <div class="label">
59 59 <label for="ldap_dn">${_('LDAP DN')}:</label>
60 60 </div>
61 61 <div class="input">
62 ${h.text('ldap_dn',class_='medium')}
62 ${h.text('ldap_dn',class_='medium disabled',readonly="readonly")}
63 63 </div>
64 64 </div>
65
65
66 66 <div class="field">
67 67 <div class="label">
68 68 <label for="new_password">${_('New password')}:</label>
@@ -71,7 +71,7 b''
71 71 ${h.password('new_password',class_='medium',autocomplete="off")}
72 72 </div>
73 73 </div>
74
74
75 75 <div class="field">
76 76 <div class="label">
77 77 <label for="password_confirmation">${_('New password confirmation')}:</label>
@@ -80,7 +80,7 b''
80 80 ${h.password('password_confirmation',class_="medium",autocomplete="off")}
81 81 </div>
82 82 </div>
83
83
84 84 <div class="field">
85 85 <div class="label">
86 86 <label for="name">${_('First Name')}:</label>
@@ -89,7 +89,7 b''
89 89 ${h.text('name',class_='medium')}
90 90 </div>
91 91 </div>
92
92
93 93 <div class="field">
94 94 <div class="label">
95 95 <label for="lastname">${_('Last Name')}:</label>
@@ -98,7 +98,7 b''
98 98 ${h.text('lastname',class_='medium')}
99 99 </div>
100 100 </div>
101
101
102 102 <div class="field">
103 103 <div class="label">
104 104 <label for="email">${_('Email')}:</label>
@@ -107,7 +107,7 b''
107 107 ${h.text('email',class_='medium')}
108 108 </div>
109 109 </div>
110
110
111 111 <div class="field">
112 112 <div class="label label-checkbox">
113 113 <label for="active">${_('Active')}:</label>
@@ -116,7 +116,7 b''
116 116 ${h.checkbox('active',value=True)}
117 117 </div>
118 118 </div>
119
119
120 120 <div class="field">
121 121 <div class="label label-checkbox">
122 122 <label for="admin">${_('Admin')}:</label>
@@ -124,19 +124,19 b''
124 124 <div class="checkboxes">
125 125 ${h.checkbox('admin',value=True)}
126 126 </div>
127 </div>
127 </div>
128 128 <div class="buttons">
129 129 ${h.submit('save',_('Save'),class_="ui-button")}
130 130 ${h.reset('reset',_('Reset'),class_="ui-button")}
131 </div>
132 </div>
131 </div>
132 </div>
133 133 </div>
134 134 ${h.end_form()}
135 135 </div>
136 136 <div class="box box-right">
137 137 <!-- box / title -->
138 138 <div class="title">
139 <h5>${_('Permissions')}</h5>
139 <h5>${_('Permissions')}</h5>
140 140 </div>
141 141 ${h.form(url('user_perm', id=c.user.user_id),method='put')}
142 142 <div class="form">
@@ -153,9 +153,9 b''
153 153 <div class="buttons">
154 154 ${h.submit('save',_('Save'),class_="ui-button")}
155 155 ${h.reset('reset',_('Reset'),class_="ui-button")}
156 </div>
157 </div>
156 </div>
157 </div>
158 158 </div>
159 ${h.end_form()}
159 ${h.end_form()}
160 160 </div>
161 161 </%def>
General Comments 0
You need to be logged in to leave comments. Login now