Mercurial > kallithea
comparison pylons_app/templates/admin/repos/repos.html @ 219:64e1125fc479
html + css changes, added icons and etc.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 25 May 2010 19:18:12 +0200 |
parents | c8162373f214 |
children | e6c802a8dede |
comparison
equal
deleted
inserted
replaced
218:58b46f9194c3 | 219:64e1125fc479 |
---|---|
13 ${self.submenu('repos')} | 13 ${self.submenu('repos')} |
14 </%def> | 14 </%def> |
15 <%def name="main()"> | 15 <%def name="main()"> |
16 <div> | 16 <div> |
17 <h2>${_('Repositories administration')}</h2> | 17 <h2>${_('Repositories administration')}</h2> |
18 <table> | 18 <table class="table_disp"> |
19 <tr class="header"> | |
20 <td>${_('name')}</td> | |
21 <td>${_('last revision')}</td> | |
22 <td>${_('action')}</td> | |
23 </tr> | |
19 %for cnt,repo in enumerate(c.repos_list): | 24 %for cnt,repo in enumerate(c.repos_list): |
20 <tr class="parity${cnt%2}"> | 25 <tr class="parity${cnt%2}"> |
21 <td>${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td> | 26 <td>${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td> |
22 <td>r${repo['rev']}:${repo['tip']}</td> | 27 <td>r${repo['rev']}:${repo['tip']}</td> |
23 <td> | 28 <td> |
24 ${h.form(url('repo', id=repo['name']),method='delete')} | 29 ${h.form(url('repo', id=repo['name']),method='delete')} |
25 ${h.submit('remove','remove',class_="submit",onclick="return confirm('Confirm to delete this repository');")} | 30 ${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} |
26 ${h.end_form()} | 31 ${h.end_form()} |
27 </td> | 32 </td> |
28 </tr> | 33 </tr> |
29 %endfor | 34 %endfor |
30 </table> | 35 </table> |
36 <span class="add_icon">${h.link_to(u'add repo',h.url('new_repo'))}</span> | |
31 </div> | 37 </div> |
32 </%def> | 38 </%def> |