##// END OF EJS Templates
added permission functions to webhelpers, updated dbmanage permissions
added permission functions to webhelpers, updated dbmanage permissions

File last commit:

r299:d303aacb default
r307:504feff5 default
Show More
repo_add.html
44 lines | 1.1 KiB | text/html | HtmlLexer
fixed html in admin templates. Litle refactors
r174 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%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')}
fixed html in admin templates. Litle refactors
r174 </%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
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 /
Admin templating updates, added rest permission controllers
r230 ${_('Repos')}
fixed html in admin templates. Litle refactors
r174 </%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')}
fixed html in admin templates. Litle refactors
r174 </%def>
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 name="main()">
<div>
<h2>${_('Repositories')} - ${_('add new')}</h2>
${h.form(url('repos'))}
<table>
<tr>
<td>${_('Name')}</td>
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
r265 <td>${h.text('repo_name',c.new_repo)}</td>
<td>${self.get_form_error('repo_name')}</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>
<tr>
<td>${_('Description')}</td>
<td>${h.textarea('description',cols=23,rows=5)}</td>
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
r265 <td>${self.get_form_error('description')}</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>
<tr>
<td>${_('Private')}</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 <td>${h.checkbox('private',value="True")}</td>
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
r265 <td>${self.get_form_error('private')}</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>
<tr>
<td></td>
<td>${h.submit('add','add')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>