Mercurial > kallithea
view pylons_app/templates/admin/repos/repos.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0
version bump to 0.8
hg app 0.8 new template.
Add yui flot and graph into summary page.
+ various tweeks and patches into look of application
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 24 Jul 2010 02:17:48 +0200 |
parents | 9c390ca19deb |
children | 0f35fa0f4eb8 |
line wrap: on
line source
## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Repositories administration')} </%def> <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Repositories')} </%def> <%def name="page_nav()"> ${self.menu('admin')} </%def> <%def name="main()"> <div class="box"> <!-- box / title --> <div class="title"> ${self.breadcrumbs()} <ul class="links"> <li> <span>${h.link_to(u'ADD NEW REPO',h.url('new_repo'),class_="add_icon")}</span> </li> </ul> </div> <!-- end box / title --> <div class="table"> <table class="table_disp"> <tr class="header"> <th class="left">${_('name')}</th> <th class="left">${_('last revision')}</th> <th class="left">${_('action')}</th> </tr> %for cnt,repo in enumerate(c.repos_list): <tr class="parity${cnt%2}"> <td> %if repo['repo'].dbrepo.private: <img alt="${_('private')}" src="/images/icons/lock.png"/> %else: <img alt="${_('public')}" src="/images/icons/lock_open.png"/> %endif ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}</td> <td>r${repo['rev']}:${repo['tip']}</td> <td> ${h.form(url('repo', repo_name=repo['name']),method='delete')} ${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} ${h.end_form()} </td> </tr> %endfor </table> </div> </div> </%def>