##// END OF EJS Templates
repos crud controllers - change id into repo_name for compatability, added ajax repo perm user function variuos html fixes, permissions forms and managment fixes....
repos crud controllers - change id into repo_name for compatability, added ajax repo perm user function variuos html fixes, permissions forms and managment fixes. Added permission fetching for each request in AuthUser instance

File last commit:

r238:a55c1787 default
r299:d303aacb default
Show More
user_add.html
57 lines | 1.5 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 ${_('User 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'))}
/
Rewrite of user managment, improved forms, added some user info
r238 ${_('Users')}
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('users')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="main()">
<div>
<h2>${_('User')} - ${_('add new')}</h2>
${h.form(url('users'))}
<table>
<tr>
<td>${_('Username')}</td>
<td>${h.text('username')}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('username')}</td>
</tr>
<tr>
<td>${_('Password')}</td>
<td>${h.password('password')}</td>
<td>${self.get_form_error('password')}</td>
</tr>
<tr>
<td>${_('Name')}</td>
<td>${h.text('name')}</td>
<td>${self.get_form_error('name')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
Rewrite of user managment, improved forms, added some user info
r238 <td>${_('Lastname')}</td>
<td>${h.text('lastname')}</td>
<td>${self.get_form_error('lastname')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
Rewrite of user managment, improved forms, added some user info
r238 <td>${_('Email')}</td>
<td>${h.text('email')}</td>
<td>${self.get_form_error('email')}</td>
</tr>
<tr>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td>${_('Active')}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${h.checkbox('active',value=True)}</td>
<td>${self.get_form_error('active')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
<td></td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${h.submit('save','save')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
</table>
${h.end_form()}
</div>
</%def>