Mercurial > kallithea
comparison pylons_app/templates/admin/repos/repos.html @ 127:20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 03 May 2010 19:07:54 +0200 |
parents | pylons_app/templates/repos.html@3ac4350b7848 |
children | 9936a1d359e0 |
comparison
equal
deleted
inserted
replaced
126:cfddee9d3693 | 127:20dc7a5eb748 |
---|---|
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'Repos managment',h.url('repos'))} | |
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 <ul class="submenu"> | |
18 <li> | |
19 ${h.link_to(u'Repos',h.url('repos'), class_="current_submenu")} | |
20 </li> | |
21 <li> | |
22 ${h.link_to(u'Users',h.url('users'))} | |
23 </li> | |
24 </ul> | |
25 <div> | |
26 <h2>${_('Mercurial repos')}</h2> | |
27 <table> | |
28 %for cnt,repo in enumerate(c.repos_list): | |
29 <tr class="parity${cnt%2}"> | |
30 <td>${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td> | |
31 <td>r${repo['rev']}:${repo['tip']}</td> | |
32 <td> | |
33 ${h.form(url('repo', id=repo['name']),method='delete')} | |
34 ${h.submit('remove','remove',class_="submit",onclick="return confirm('Confirm to delete this repository');")} | |
35 ${h.end_form()} | |
36 </td> | |
37 </tr> | |
38 %endfor | |
39 </table> | |
40 </div> | |
41 </%def> |