##// END OF EJS Templates
removed sof files
removed sof files

File last commit:

r366:0f35fa0f default
r369:38736d60 default
Show More
repos.html
57 lines | 1.9 KiB | text/html | HtmlLexer
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ## -*- coding: utf-8 -*-
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%inherit file="/base/base.html"/>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%def name="title()">
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${_('Repositories administration')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
version bump to 0.8...
r362
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Repositories')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="page_nav()">
new way of menu generation for base, and all admin pages
r182 ${self.menu('admin')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="main()">
version bump to 0.8...
r362 <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">
html + css changes, added icons and etc.
r219 <table class="table_disp">
<tr class="header">
version bump to 0.8...
r362 <th class="left">${_('name')}</th>
fixed some html and styles, added owner into admin repo list...
r366 <th class="left">${_('owner')}</th>
version bump to 0.8...
r362 <th class="left">${_('last revision')}</th>
<th class="left">${_('action')}</th>
html + css changes, added icons and etc.
r219 </tr>
version bump to 0.8...
r362 %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>
fixed some html and styles, added owner into admin repo list...
r366 <td>${repo['contact']}</td>
version bump to 0.8...
r362 <td>r${repo['rev']}:${repo['tip']}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td>
repos crud controllers - change id into repo_name for compatability, added ajax repo perm user function variuos html fixes, permissions forms and managment fixes....
r299 ${h.form(url('repo', repo_name=repo['name']),method='delete')}
version bump to 0.8...
r362 ${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 ${h.end_form()}
version bump to 0.8...
r362 </td>
</tr>
%endfor
</table>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </div>
version bump to 0.8...
r362 </div>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 </%def>