##// END OF EJS Templates
removed login from admin, from now we're have to be globally logged in.
removed login from admin, from now we're have to be globally logged in.

File last commit:

r174:fec7d070 default
r175:d69e19fc default
Show More
user_edit.html
49 lines | 1.3 KiB | text/html | HtmlLexer
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%inherit file="/base/base.html"/>
<%def name="title()">
${_('User')} - ${c.user.username}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
${h.link_to(u'Users',h.url('users'))}
</%def>
<%def name="page_nav()">
fixed improper template in admin
r173 <ul class="page-nav">
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <li>${h.link_to(u'Home',h.url('/'))}</li>
<li class="current">${_('Admin')}</li>
fixed improper template in admin
r173 </ul>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="main()">
<ul class="submenu">
<li>
${h.link_to(u'Repos',h.url('repos'))}
</li>
<li class="current_submenu">
${h.link_to(u'Users',h.url('users'))}
</li>
</ul>
<div>
<h2>${_('User')} - ${c.user.username}</h2>
${h.form(url('user', id=c.user.user_id),method='put')}
<table>
<tr>
<td>${_('Username')}</td>
<td>${h.text('username')}</td>
</tr>
<tr>
<td>${_('New password')}</td>
<td>${h.text('new_password')}</td>
</tr>
<tr>
<td>${_('Active')}</td>
<td>${h.checkbox('active',value=True)}</td>
</tr>
<tr>
<td></td>
<td>${h.submit('save','save')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>