##// END OF EJS Templates
Added application settings, are now customizable from database...
Added application settings, are now customizable from database fixed all instances of sqlachemy to be removed() after execution.

File last commit:

r329:aafd9a98 default
r350:664a5b8c default
Show More
user_edit.html
63 lines | 1.8 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'))}
/
Admin templating updates, added rest permission controllers
r230 ${_('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')} - ${c.user.username}</h2>
${h.form(url('user', id=c.user.user_id),method='put')}
<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>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
<td>${_('New password')}</td>
<td>${h.text('new_password')}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('new_password')}</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>${_('Name')}</td>
<td>${h.text('name')}</td>
<td>${self.get_form_error('name')}</td>
</tr>
<tr>
<td>${_('Lastname')}</td>
<td>${h.text('lastname')}</td>
<td>${self.get_form_error('lastname')}</td>
</tr>
<tr>
<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>
<td>${h.checkbox('active',value=True)}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('active')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
added admin flag to users editing
r329 <td>${_('Admin')}</td>
<td>${h.checkbox('admin',value=True)}</td>
<td>${self.get_form_error('admin')}</td>
</tr>
<tr>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td></td>
<td>${h.submit('save','save')}</td>
</tr>
</table>
${h.end_form()}
</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>