Files
@ 558eb7c5028f
Branch filter:
Location: kallithea/pylons_app/templates/admin/repos/repos.html - annotation
558eb7c5028f
1.8 KiB
text/html
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
hg app 0.8 new template.
Add yui flot and graph into summary page.
+ various tweeks and patches into look of application
c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 20dc7a5eb748 11e8eb5a92e3 20dc7a5eb748 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 64e1125fc479 64e1125fc479 558eb7c5028f 558eb7c5028f 558eb7c5028f 64e1125fc479 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 d303aacb3349 558eb7c5028f 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 558eb7c5028f 558eb7c5028f c8162373f214 | ## -*- 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>
|