##// END OF EJS Templates
fixed admin, html template
fixed admin, html template

File last commit:

r299:d303aacb default
r308:19944fc4 default
Show More
repos.html
39 lines | 1.2 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>
<%def name="breadcrumbs()">
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 ${h.link_to(u'Admin',h.url('admin_home'))}
/
Admin templating updates, added rest permission controllers
r230 ${_('Repos')}
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')}
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 ${self.submenu('repos')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="main()">
<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 <h2>${_('Repositories administration')}</h2>
html + css changes, added icons and etc.
r219 <table class="table_disp">
<tr class="header">
<td>${_('name')}</td>
<td>${_('last revision')}</td>
<td>${_('action')}</td>
</tr>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 %for cnt,repo in enumerate(c.repos_list):
<tr class="parity${cnt%2}">
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 <td>${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td>r${repo['rev']}:${repo['tip']}</td>
<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')}
html + css changes, added icons and etc.
r219 ${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()}
</td>
</tr>
%endfor
</table>
html + css changes, added icons and etc.
r219 <span class="add_icon">${h.link_to(u'add repo',h.url('new_repo'))}</span>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </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>