##// END OF EJS Templates
updated hg-app db manage and global settings
updated hg-app db manage and global settings

File last commit:

r238:a55c1787 default
r345:bb8f45f6 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>
<h2>${_('Mercurial users')}</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>