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