##// END OF EJS Templates
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods. Added new db unique key for Group

File last commit:

r1297:d87997ed beta
r1345:3bce31f0 beta
Show More
user_edit_my_account.html
210 lines | 7.6 KiB | text/html | HtmlLexer
/ rhodecode / templates / admin / users / user_edit_my_account.html
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('My account')} ${c.rhodecode_user.username} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${_('My Account')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box box-left">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
css optimizations
r888 <div>
renamed project to rhodecode
r547 ${h.form(url('admin_settings_my_account_update'),method='put')}
<div class="form">
Added fork name to journal...
r718
<div class="field">
<div class="gravatar_box">
<div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div>
<p>
<strong>Change your avatar at <a href="http://gravatar.com">gravatar.com</a></strong><br/>
${_('Using')} ${c.user.email}
</p>
</div>
</div>
Added api_key into user, api key get's generated again after password change...
r1116 <div class="field">
<div class="label">
<label>${_('API key')}</label> ${c.user.api_key}
</div>
</div>
renamed project to rhodecode
r547 <div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.text('username',class_="medium")}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
<label for="new_password">${_('New password')}:</label>
</div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.password('new_password',class_="medium")}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
fixes for #66 renamed name to First Name
r697 <label for="name">${_('First Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.text('name',class_="medium")}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
fixes for #66 renamed name to First Name
r697 <label for="lastname">${_('Last Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.text('lastname',class_="medium")}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.text('email',class_="medium")}
renamed project to rhodecode
r547 </div>
</div>
<div class="buttons">
css optimizations
r888 ${h.submit('save','Save',class_="ui-button")}
${h.reset('reset','Reset',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
</div>
</div>
<div class="box box-right">
<!-- box / title -->
<div class="title">
Added fork name to journal...
r718 <h5>${_('My repositories')}
Added quickfilter into my account....
r647 <input class="top-right-rounded-corner top-left-rounded-corner bottom-left-rounded-corner bottom-right-rounded-corner" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
added add repository to my view
r766 </h5>
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
<ul class="links">
<li>
<span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
</li>
</ul>
%endif
renamed project to rhodecode
r547 </div>
<!-- end box / title -->
<div class="table">
<table>
fixed html templates, fixed overal rhodecode width to 1024pixels...
r663 <thead>
<tr>
<th class="left">${_('Name')}</th>
<th class="left">${_('revision')}</th>
<th colspan="2" class="left">${_('action')}</th>
</thead>
renamed project to rhodecode
r547 <tbody>
%if c.user_repos:
%for repo in c.user_repos:
<tr>
<td>
another major codes rewrite:...
r1045 %if repo['dbrepo']['repo_type'] =='hg':
changed all urls for IMAGES files to use pylons url function
r1051 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/>
another major codes rewrite:...
r1045 %elif repo['dbrepo']['repo_type'] =='git':
changed all urls for IMAGES files to use pylons url function
r1051 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/>
Added quickfilter into my account....
r647 %else:
%endif
another major codes rewrite:...
r1045 %if repo['dbrepo']['private']:
changed all urls for IMAGES files to use pylons url function
r1051 <img class="icon" alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/>
renamed project to rhodecode
r547 %else:
changed all urls for IMAGES files to use pylons url function
r1051 <img class="icon" alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/>
renamed project to rhodecode
r547 %endif
changes for #56
r1171 ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
another major codes rewrite:...
r1045 %if repo['dbrepo_fork']:
<a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
renamed project to rhodecode
r547 <img class="icon" alt="${_('public')}"
another major codes rewrite:...
r1045 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}"
changed all urls for IMAGES files to use pylons url function
r1051 src="${h.url("/images/icons/arrow_divide.png")}"/></a>
renamed project to rhodecode
r547 %endif
</td>
reimplemented tooltip, refactored tooltip_title into title for proper html,...
r904 <td><span class="tooltip" title="${repo['repo'].last_change}">${("r%s:%s") % (h.get_changeset_safe(repo['repo'],'tip').revision,h.short_id(h.get_changeset_safe(repo['repo'],'tip').raw_id))}</span></td>
changes for #56
r1171 <td><a href="${h.url('repo_settings_home',repo_name=repo['name'])}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url("/images/icons/application_form_edit.png")}"/></a></td>
renamed project to rhodecode
r547 <td>
changes for #56
r1171 ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')}
${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
renamed project to rhodecode
r547 ${h.end_form()}
</td>
</tr>
%endfor
%else:
${_('No repositories yet')}
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
${h.link_to(_('create one now'),h.url('admin_settings_create_repository'))}
%endif
%endif
</tbody>
</table>
</div>
</div>
Added quickfilter into my account....
r647 <script type="text/javascript">
var D = YAHOO.util.Dom;
var E = YAHOO.util.Event;
var S = YAHOO.util.Selector;
var q_filter = D.get('q_filter');
var F = YAHOO.namespace('q_filter');
E.on(q_filter,'click',function(){
q_filter.value = '';
});
F.filterTimeout = null;
F.updateFilter = function() {
// Reset timeout
F.filterTimeout = null;
var obsolete = [];
var nodes = S.query('div.table tr td a.repo_name');
fixed problem with quick filter mixed case search patterns
r1297 var req = q_filter.value.toLowerCase();
Added quickfilter into my account....
r647 for (n in nodes){
D.setStyle(nodes[n].parentNode.parentNode,'display','')
}
if (req){
for (n in nodes){
if (nodes[n].innerHTML.toLowerCase().indexOf(req) == -1) {
obsolete.push(nodes[n]);
}
}
if(obsolete){
for (n in obsolete){
D.setStyle(obsolete[n].parentNode.parentNode,'display','none');
}
}
}
}
E.on(q_filter,'keyup',function(e){
clearTimeout(F.filterTimeout);
setTimeout(F.updateFilter,600);
});
</script>
renamed project to rhodecode
r547 </%def>