##// END OF EJS Templates
bugfix, when form is crashing, form_result is unaccesibble
bugfix, when form is crashing, form_result is unaccesibble

File last commit:

r324:9c390ca1 default
r336:871c0dd1 default
Show More
repos.html
45 lines | 1.4 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}">
little html changes
r324 <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>
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>