Mercurial > kallithea
comparison rhodecode/templates/admin/users/user_edit.html @ 1888:f91d3f9b7230 beta
White-space cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 12 Jan 2012 06:32:40 +0200 |
parents | 2196aa27954b |
children | 90a4066d4261 |
comparison
equal
deleted
inserted
replaced
1886:50e32940e464 | 1888:f91d3f9b7230 |
---|---|
4 <%def name="title()"> | 4 <%def name="title()"> |
5 ${_('Edit user')} ${c.user.username} - ${c.rhodecode_name} | 5 ${_('Edit user')} ${c.user.username} - ${c.rhodecode_name} |
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> |
15 | 15 |
16 <%def name="page_nav()"> | 16 <%def name="page_nav()"> |
19 | 19 |
20 <%def name="main()"> | 20 <%def name="main()"> |
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')} |
28 <div class="form"> | 28 <div class="form"> |
29 <div class="field"> | 29 <div class="field"> |
33 %if c.use_gravatar: | 33 %if c.use_gravatar: |
34 <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong> | 34 <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong> |
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"> |
42 <div class="label"> | 42 <div class="label"> |
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"> |
50 <label for="username">${_('Username')}:</label> | 50 <label for="username">${_('Username')}:</label> |
51 </div> | 51 </div> |
52 <div class="input"> | 52 <div class="input"> |
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')} |
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> |
69 </div> | 69 </div> |
70 <div class="input"> | 70 <div class="input"> |
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> |
78 </div> | 78 </div> |
79 <div class="input"> | 79 <div class="input"> |
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> |
87 </div> | 87 </div> |
88 <div class="input"> | 88 <div class="input"> |
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> |
96 </div> | 96 </div> |
97 <div class="input"> | 97 <div class="input"> |
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> |
105 </div> | 105 </div> |
106 <div class="input"> | 106 <div class="input"> |
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> |
114 </div> | 114 </div> |
115 <div class="checkboxes"> | 115 <div class="checkboxes"> |
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> |
123 </div> | 123 </div> |
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"> |
143 <!-- fields --> | 143 <!-- fields --> |
144 <div class="fields"> | 144 <div class="fields"> |
151 </div> | 151 </div> |
152 </div> | 152 </div> |
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> |