Mercurial > kallithea
annotate rhodecode/templates/admin/users/user_edit_my_account.html @ 1051:90eadff2c2a8 beta
changed all urls for IMAGES files to use pylons url function
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 15 Feb 2011 19:09:29 +0100 |
parents | 3fc9183e05dd |
children | 716911af91e1 |
rev | line source |
---|---|
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <%def name="title()"> |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
548
diff
changeset
|
5 ${_('My account')} ${c.rhodecode_user.username} - ${c.rhodecode_name} |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 </%def> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 ${_('My Account')} |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 </%def> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 <%def name="page_nav()"> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 ${self.menu('admin')} |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 </%def> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <%def name="main()"> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
17 |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
18 <div class="box box-left"> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <!-- box / title --> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 <div class="title"> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 ${self.breadcrumbs()} |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 </div> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 <!-- end box / title --> |
888
6b40654afa1e
css optimizations
Marcin Kuzminski <marcin@python-works.com>
parents:
766
diff
changeset
|
24 <div> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 ${h.form(url('admin_settings_my_account_update'),method='put')} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
26 <div class="form"> |
718
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
27 |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
28 <div class="field"> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
29 <div class="gravatar_box"> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
30 <div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
31 <p> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
32 <strong>Change your avatar at <a href="http://gravatar.com">gravatar.com</a></strong><br/> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
33 ${_('Using')} ${c.user.email} |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
34 </p> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
35 </div> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
36 </div> |
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
37 |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
38 <div class="fields"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
39 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
40 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
41 <label for="username">${_('Username')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
42 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
43 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
44 ${h.text('username',class_="medium")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
45 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
46 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
47 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
48 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
49 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
50 <label for="new_password">${_('New password')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
51 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
52 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
53 ${h.password('new_password',class_="medium")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
54 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
55 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
56 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
57 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
58 <div class="label"> |
697
540545d374fd
fixes for #66 renamed name to First Name
Marcin Kuzminski <marcin@python-works.com>
parents:
665
diff
changeset
|
59 <label for="name">${_('First Name')}:</label> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
60 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
61 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
62 ${h.text('name',class_="medium")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
63 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
64 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
65 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
66 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
67 <div class="label"> |
697
540545d374fd
fixes for #66 renamed name to First Name
Marcin Kuzminski <marcin@python-works.com>
parents:
665
diff
changeset
|
68 <label for="lastname">${_('Last Name')}:</label> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
69 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
70 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
71 ${h.text('lastname',class_="medium")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
72 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
73 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
74 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
75 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
76 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
77 <label for="email">${_('Email')}:</label> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
78 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
79 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
80 ${h.text('email',class_="medium")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
81 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
82 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
83 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
84 <div class="buttons"> |
888
6b40654afa1e
css optimizations
Marcin Kuzminski <marcin@python-works.com>
parents:
766
diff
changeset
|
85 ${h.submit('save','Save',class_="ui-button")} |
6b40654afa1e
css optimizations
Marcin Kuzminski <marcin@python-works.com>
parents:
766
diff
changeset
|
86 ${h.reset('reset','Reset',class_="ui-button")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
87 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
88 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
89 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
90 ${h.end_form()} |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
91 </div> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
92 </div> |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
93 |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
94 <div class="box box-right"> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
95 <!-- box / title --> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
96 <div class="title"> |
718
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
97 <h5>${_('My repositories')} |
647
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
98 <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...')}"/> |
766
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
99 </h5> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
100 %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
101 <ul class="links"> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
102 <li> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
103 <span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
104 </li> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
105 </ul> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
106 %endif |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
107 </div> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
108 <!-- end box / title --> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
109 <div class="table"> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
110 <table> |
663
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
111 <thead> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
112 <tr> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
113 <th class="left">${_('Name')}</th> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
114 <th class="left">${_('revision')}</th> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
115 <th colspan="2" class="left">${_('action')}</th> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
116 </thead> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
117 <tbody> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
118 %if c.user_repos: |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
119 %for repo in c.user_repos: |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
120 <tr> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
121 <td> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
122 %if repo['dbrepo']['repo_type'] =='hg': |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
123 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
124 %elif repo['dbrepo']['repo_type'] =='git': |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
125 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> |
647
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
126 %else: |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
127 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
128 %endif |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
129 %if repo['dbrepo']['private']: |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
130 <img class="icon" alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
131 %else: |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
132 <img class="icon" alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
133 %endif |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
134 |
665
070f32743632
Moved out reposcan into hg Model.
Marcin Kuzminski <marcin@python-works.com>
parents:
663
diff
changeset
|
135 ${h.link_to(repo['repo'].name, h.url('summary_home',repo_name=repo['repo'].name),class_="repo_name")} |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
136 %if repo['dbrepo_fork']: |
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
137 <a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}"> |
531
6fc59ac322ca
added info about forked repository in few places
Marcin Kuzminski <marcin@python-works.com>
parents:
525
diff
changeset
|
138 <img class="icon" alt="${_('public')}" |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
139 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}" |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
140 src="${h.url("/images/icons/arrow_divide.png")}"/></a> |
531
6fc59ac322ca
added info about forked repository in few places
Marcin Kuzminski <marcin@python-works.com>
parents:
525
diff
changeset
|
141 %endif |
6fc59ac322ca
added info about forked repository in few places
Marcin Kuzminski <marcin@python-works.com>
parents:
525
diff
changeset
|
142 </td> |
904
82aaf4e71817
reimplemented tooltip, refactored tooltip_title into title for proper html,
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
143 <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> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
144 <td><a href="${h.url('repo_settings_home',repo_name=repo['repo'].name)}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url("/images/icons/application_form_edit.png")}"/></a></td> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
145 <td> |
665
070f32743632
Moved out reposcan into hg Model.
Marcin Kuzminski <marcin@python-works.com>
parents:
663
diff
changeset
|
146 ${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')} |
070f32743632
Moved out reposcan into hg Model.
Marcin Kuzminski <marcin@python-works.com>
parents:
663
diff
changeset
|
147 ${h.submit('remove_%s' % repo['repo'].name,'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
148 ${h.end_form()} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
149 </td> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
150 </tr> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
151 %endfor |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
152 %else: |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
153 ${_('No repositories yet')} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
154 %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
155 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'))} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
156 %endif |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
157 %endif |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
158 </tbody> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
159 </table> |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
160 </div> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
161 |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
162 </div> |
647
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
163 <script type="text/javascript"> |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
164 var D = YAHOO.util.Dom; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
165 var E = YAHOO.util.Event; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
166 var S = YAHOO.util.Selector; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
167 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
168 var q_filter = D.get('q_filter'); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
169 var F = YAHOO.namespace('q_filter'); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
170 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
171 E.on(q_filter,'click',function(){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
172 q_filter.value = ''; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
173 }); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
174 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
175 F.filterTimeout = null; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
176 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
177 F.updateFilter = function() { |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
178 // Reset timeout |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
179 F.filterTimeout = null; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
180 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
181 var obsolete = []; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
182 var nodes = S.query('div.table tr td a.repo_name'); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
183 var req = D.get('q_filter').value; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
184 for (n in nodes){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
185 D.setStyle(nodes[n].parentNode.parentNode,'display','') |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
186 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
187 if (req){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
188 for (n in nodes){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
189 if (nodes[n].innerHTML.toLowerCase().indexOf(req) == -1) { |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
190 obsolete.push(nodes[n]); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
191 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
192 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
193 if(obsolete){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
194 for (n in obsolete){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
195 D.setStyle(obsolete[n].parentNode.parentNode,'display','none'); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
196 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
197 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
198 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
199 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
200 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
201 E.on(q_filter,'keyup',function(e){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
202 clearTimeout(F.filterTimeout); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
203 setTimeout(F.updateFilter,600); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
204 }); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
205 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
206 </script> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
207 </%def> |