##// END OF EJS Templates
small css fix
small css fix

File last commit:

r416:25ab66a2 default
r546:7c2f5e4d default
Show More
users.html
60 lines | 1.9 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">
Implemented basic gravatar support on admin pages only for now
r398 <th></th>
version bump to 0.8...
r362 <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}">
fix for new bcrypt password....
r416 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(user.email,24)}"> </div></td>
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>