##// END OF EJS Templates
Added flash messages support
Added flash messages support

File last commit:

r230:d982ed8e default
r237:f188b156 default
Show More
users.html
43 lines | 1.3 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>
<h2>${_('Mercurial users')}</h2>
html + css changes, added icons and etc.
r219 <table class="table_disp">
<tr class="header">
translated users
r221 <td>${_('id')}</td>
<td>${_('username')}</td>
<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>${user.user_id}</td>
<td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td>
<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>