Mercurial > kallithea
comparison pylons_app/templates/users_manage.html @ 44:d924b931b488
Added managment pages.
+ fixed routing bug
done a lot in templates
author | marcink |
---|---|
date | Wed, 07 Apr 2010 16:42:11 +0200 |
parents | |
children | f6ac79182600 |
comparison
equal
deleted
inserted
replaced
43:2e1247e62c5b | 44:d924b931b488 |
---|---|
1 <%inherit file="base/base.html"/> | |
2 <%def name="title()"> | |
3 ${_('Repository managment')} | |
4 </%def> | |
5 <%def name="breadcrumbs()"> | |
6 ${h.link_to(u'Home',h.url('/'))} | |
7 / | |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | |
9 / | |
10 ${h.link_to(u'Users managment',h.url('admin_users_manage'))} | |
11 </%def> | |
12 <%def name="page_nav()"> | |
13 <li>${h.link_to(u'Home',h.url('/'))}</li> | |
14 <li class="current">${_('Admin')}</li> | |
15 </%def> | |
16 <%def name="main()"> | |
17 | |
18 <table cellspacing="0"> | |
19 <tr> | |
20 <th>Id</th> | |
21 <th>Username</th> | |
22 <th>Password</th> | |
23 <th>Active</th> | |
24 </tr> | |
25 %for i in c.users_list: | |
26 <tr> | |
27 <td>${i[0]}</td> | |
28 <td>${i[1]}</td> | |
29 <td>${i[2]}</td> | |
30 <td>${i[3]}</td> | |
31 </tr> | |
32 %endfor | |
33 </table> | |
34 </%def> |