##// END OF EJS Templates
fixed some templating issues
fixed some templating issues

File last commit:

r362:558eb7c5 rhodecode-0.0.0.8.0 default
r397:4cf4b82a default
Show More
users.html
58 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 ${_('Users administration')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
version bump to 0.8...
r362
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Users')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
version bump to 0.8...
r362
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%def name="page_nav()">
new way of menu generation for base, and all admin pages
r182 ${self.menu('admin')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
version bump to 0.8...
r362
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%def name="main()">
version bump to 0.8...
r362 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
<ul class="links">
<li>
<span>${h.link_to(u'ADD NEW USER',h.url('new_user'),class_="add_icon")}</span>
</li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
html + css changes, added icons and etc.
r219 <table class="table_disp">
version bump to 0.8...
r362 <tr class="header">
<th class="left">${_('username')}</th>
<th class="left">${_('name')}</th>
<th class="left">${_('lastname')}</th>
<th class="left">${_('active')}</th>
<th class="left">${_('admin')}</th>
<th class="left">${_('action')}</th>
</tr>
%for cnt,user in enumerate(c.users_list):
%if user.name !='default':
<tr class="parity${cnt%2}">
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <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>
version bump to 0.8...
r362 ${h.form(url('user', id=user.user_id),method='delete')}
${h.submit('remove','delete',class_="delete_icon action_button")}
${h.end_form()}
</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
version bump to 0.8...
r362 %endif
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 %endfor
</table>
</div>
version bump to 0.8...
r362 </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>