Mercurial > kallithea
comparison pylons_app/templates/admin/users/users.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0
version bump to 0.8
hg app 0.8 new template.
Add yui flot and graph into summary page.
+ various tweeks and patches into look of application
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 24 Jul 2010 02:17:48 +0200 |
parents | 51362853ac3b |
children | 8c50b164fb58 |
comparison
equal
deleted
inserted
replaced
361:3581656180b7 | 362:558eb7c5028f |
---|---|
2 <%inherit file="/base/base.html"/> | 2 <%inherit file="/base/base.html"/> |
3 | 3 |
4 <%def name="title()"> | 4 <%def name="title()"> |
5 ${_('Users administration')} | 5 ${_('Users administration')} |
6 </%def> | 6 </%def> |
7 <%def name="breadcrumbs()"> | 7 |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | 8 <%def name="breadcrumbs_links()"> |
9 / | 9 ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Users')} |
10 ${_('Users')} | |
11 </%def> | 10 </%def> |
11 | |
12 <%def name="page_nav()"> | 12 <%def name="page_nav()"> |
13 ${self.menu('admin')} | 13 ${self.menu('admin')} |
14 ${self.submenu('users')} | |
15 </%def> | 14 </%def> |
15 | |
16 <%def name="main()"> | 16 <%def name="main()"> |
17 <div> | 17 <div class="box"> |
18 <h2>${_('Users administration')}</h2> | 18 <!-- box / title --> |
19 <div class="title"> | |
20 ${self.breadcrumbs()} | |
21 <ul class="links"> | |
22 <li> | |
23 <span>${h.link_to(u'ADD NEW USER',h.url('new_user'),class_="add_icon")}</span> | |
24 </li> | |
25 | |
26 </ul> | |
27 </div> | |
28 <!-- end box / title --> | |
29 <div class="table"> | |
19 <table class="table_disp"> | 30 <table class="table_disp"> |
20 <tr class="header"> | 31 <tr class="header"> |
21 <td>${_('username')}</td> | 32 <th class="left">${_('username')}</th> |
22 <td>${_('name')}</td> | 33 <th class="left">${_('name')}</th> |
23 <td>${_('lastname')}</td> | 34 <th class="left">${_('lastname')}</th> |
24 <td>${_('active')}</td> | 35 <th class="left">${_('active')}</th> |
25 <td>${_('admin')}</td> | 36 <th class="left">${_('admin')}</th> |
26 <td>${_('action')}</td> | 37 <th class="left">${_('action')}</th> |
27 </tr> | 38 </tr> |
28 %for user in c.users_list: | 39 %for cnt,user in enumerate(c.users_list): |
29 <tr> | 40 %if user.name !='default': |
41 <tr class="parity${cnt%2}"> | |
30 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td> | 42 <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td> |
31 <td>${user.name}</td> | 43 <td>${user.name}</td> |
32 <td>${user.lastname}</td> | 44 <td>${user.lastname}</td> |
33 <td>${user.active}</td> | 45 <td>${user.active}</td> |
34 <td>${user.admin}</td> | 46 <td>${user.admin}</td> |
35 <td> | 47 <td> |
36 ${h.form(url('user', id=user.user_id),method='delete')} | 48 ${h.form(url('user', id=user.user_id),method='delete')} |
37 ${h.submit('remove','delete',class_="delete_icon action_button")} | 49 ${h.submit('remove','delete',class_="delete_icon action_button")} |
38 ${h.end_form()} | 50 ${h.end_form()} |
39 </td> | 51 </td> |
40 </tr> | 52 </tr> |
53 %endif | |
41 %endfor | 54 %endfor |
42 </table> | 55 </table> |
43 <span class="add_icon">${h.link_to(u'add user',h.url('new_user'))}</span> | |
44 </div> | 56 </div> |
57 </div> | |
45 </%def> | 58 </%def> |