users_manage.html
46 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r44 | <%inherit file="base/base.html"/> | ||
<%def name="title()"> | |||
${_('Repository managment')} | |||
</%def> | |||
<%def name="breadcrumbs()"> | |||
${h.link_to(u'Home',h.url('/'))} | |||
/ | |||
${h.link_to(u'Admin',h.url('admin_home'))} | |||
/ | |||
Marcin Kuzminski
|
r47 | ${h.link_to(u'Users managment',h.url('users'))} | |
r44 | </%def> | ||
<%def name="page_nav()"> | |||
<li>${h.link_to(u'Home',h.url('/'))}</li> | |||
<li class="current">${_('Admin')}</li> | |||
</%def> | |||
<%def name="main()"> | |||
Marcin Kuzminski
|
r47 | <ul class="submenu"> | |
<li> | |||
${h.link_to(u'Repos',h.url('repos'))} | |||
</li> | |||
<li class="current_submenu"> | |||
${h.link_to(u'Users',h.url('users'))} | |||
</li> | |||
</ul> | |||
<div> | |||
<h2>${_('Mercurial users')}</h2> | |||
r44 | <table cellspacing="0"> | ||
<tr> | |||
<th>Id</th> | |||
<th>Username</th> | |||
<th>Password</th> | |||
<th>Active</th> | |||
Marcin Kuzminski
|
r47 | <th>Admin</th> | |
</tr> | |||
r44 | %for i in c.users_list: | ||
<tr> | |||
<td>${i[0]}</td> | |||
<td>${i[1]}</td> | |||
<td>${i[2]}</td> | |||
<td>${i[3]}</td> | |||
Marcin Kuzminski
|
r47 | <td>${i[4]}</td> | |
r44 | </tr> | ||
%endfor | |||
Marcin Kuzminski
|
r47 | </table> | |
</div> | |||
r44 | </%def> |