##// END OF EJS Templates
rewrote sorting on main page, to clickable headers....
rewrote sorting on main page, to clickable headers. Update my account with better repo list some css fixes

File last commit:

r447:70c27505 default
r447:70c27505 default
Show More
user_edit_my_account.html
110 lines | 3.4 KiB | text/html | HtmlLexer
/ pylons_app / templates / admin / users / user_edit_my_account.html
routes python 2.5 compatible...
r371 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
fixed title on my account page
r403 ${c.hg_app_user.username} ${_('account')}
routes python 2.5 compatible...
r371 </%def>
<%def name="breadcrumbs_links()">
${_('My Account')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
rewrote sorting on main page, to clickable headers....
r447
started my page rewrite
r446 <div class="box box-left">
routes python 2.5 compatible...
r371 <!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
rewrote sorting on main page, to clickable headers....
r447 <div class="ui-tabs-panel ui-widget-content ui-corner-bottom">
routes python 2.5 compatible...
r371 ${h.form(url('admin_settings_my_account_update'),method='put')}
rewrote sorting on main page, to clickable headers....
r447 <div class="form">
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
${h.text('username')}
</div>
</div>
<div class="field">
<div class="label">
<label for="new_password">${_('New password')}:</label>
</div>
<div class="input">
${h.password('new_password')}
</div>
</div>
<div class="field">
<div class="label">
<label for="name">${_('Name')}:</label>
</div>
<div class="input">
${h.text('name')}
</div>
</div>
<div class="field">
<div class="label">
<label for="lastname">${_('Lastname')}:</label>
</div>
<div class="input">
${h.text('lastname')}
</div>
</div>
<div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
${h.text('email')}
</div>
</div>
<div class="buttons">
${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
routes python 2.5 compatible...
r371 </div>
</div>
started my page rewrite
r446
<div class="box box-right">
<!-- box / title -->
<div class="title">
<h5>${_('My repositories')}</h5>
</div>
<!-- end box / title -->
<div class="table">
rewrote sorting on main page, to clickable headers....
r447 <table>
<tbody>
%for repo in c.user_repos:
<tr>
<td>
%if repo.dbrepo.private:
<img class="icon" alt="${_('private')}" src="/images/icons/lock.png"/>
%else:
<img class="icon" alt="${_('public')}" src="/images/icons/lock_open.png"/>
%endif
${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name))}</td>
<td>${_('revision')}: ${repo.revisions[-1]}</td>
<td>${_('last changed')}: ${h.age(repo.last_change)}</td>
<td><img class="icon" alt="${_('private')}" src="/images/icons/application_form_edit.png"/> ${h.link_to(_('edit'),h.url('edit_repo',repo_name=repo.name))}</td>
</tr>
%endfor
</tbody>
</table>
started my page rewrite
r446 </div>
</div>
routes python 2.5 compatible...
r371 </%def>