##// 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:

r346:51362853 default
r350:664a5b8c default
Show More
users.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 ${_('Users 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>
added settings rest controllers for admin, updated routes with easier submodule handling
r346 <h2>${_('Users administration')}</h2>
html + css changes, added icons and etc.
r219 <table class="table_disp">
<tr class="header">
translated users
r221 <td>${_('username')}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${_('name')}</td>
<td>${_('lastname')}</td>
translated users
r221 <td>${_('active')}</td>
<td>${_('admin')}</td>
<td>${_('action')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
%for user in c.users_list:
<tr>
<td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${user.name}</td>
<td>${user.lastname}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td>${user.active}</td>
<td>${user.admin}</td>
<td>
${h.form(url('user', id=user.user_id),method='delete')}
html + css changes, added icons and etc.
r219 ${h.submit('remove','delete',class_="delete_icon action_button")}
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 user',h.url('new_user'))}</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>