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 -*-
|
|
|
|
|
<%inherit file="/base/base.html"/>
|
|
|
|
|
|
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')} - ${_('edit')}</h2>
|
Admin templating updates, added rest permission controllers
|
|
r230
|
|
${h.form(url('repo', id=c.new_repo),method='put')}
|
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
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>${_('Name')}</td>
|
|
|
|
|
<td>${h.text('name',c.new_repo)}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>${_('Description')}</td>
|
|
|
|
|
<td>${h.textarea('description',cols=23,rows=5)}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>${_('Private')}</td>
|
|
|
|
|
<td>${h.checkbox('private')}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td></td>
|
repo edit
|
|
r220
|
|
<td>${h.submit('update','update')}</td>
|
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
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
${h.end_form()}
|
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>
|
|
|
|