Mercurial > kallithea
annotate pylons_app/templates/users_manage.html @ 47:f6ac79182600
Added rest controllers for repos and users,
templating changes + css fixes
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Wed, 07 Apr 2010 20:19:25 +0200 |
parents | d924b931b488 |
children |
rev | line source |
---|---|
44 | 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 / | |
47
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
10 ${h.link_to(u'Users managment',h.url('users'))} |
44 | 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()"> | |
47
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
17 <ul class="submenu"> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
18 <li> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
19 ${h.link_to(u'Repos',h.url('repos'))} |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
20 </li> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
21 <li class="current_submenu"> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
22 ${h.link_to(u'Users',h.url('users'))} |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
23 </li> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
24 </ul> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
25 <div> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
26 <h2>${_('Mercurial users')}</h2> |
44 | 27 <table cellspacing="0"> |
28 <tr> | |
29 <th>Id</th> | |
30 <th>Username</th> | |
31 <th>Password</th> | |
32 <th>Active</th> | |
47
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
33 <th>Admin</th> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
34 </tr> |
44 | 35 %for i in c.users_list: |
36 <tr> | |
37 <td>${i[0]}</td> | |
38 <td>${i[1]}</td> | |
39 <td>${i[2]}</td> | |
40 <td>${i[3]}</td> | |
47
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
41 <td>${i[4]}</td> |
44 | 42 </tr> |
43 %endfor | |
47
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
44 </table> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
45 </div> |
f6ac79182600
Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents:
44
diff
changeset
|
46 |
44 | 47 </%def> |