Mercurial > kallithea
annotate rhodecode/templates/admin/users/user_edit_my_account.html @ 1453:55a4cbcd464d beta
fixed timeout reset on active filters searches, should work faster now !
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 28 Aug 2011 02:18:20 +0300 |
parents | 9c0f5d558789 |
children | 61006e29497e aaec08ad9daf |
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> |
1116
716911af91e1
Added api_key into user, api key get's generated again after password change
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
37 <div class="field"> |
716911af91e1
Added api_key into user, api key get's generated again after password change
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
38 <div class="label"> |
716911af91e1
Added api_key into user, api key get's generated again after password change
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
39 <label>${_('API key')}</label> ${c.user.api_key} |
716911af91e1
Added api_key into user, api key get's generated again after password change
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
40 </div> |
716911af91e1
Added api_key into user, api key get's generated again after password change
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
41 </div> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
42 <div class="fields"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
43 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
44 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
45 <label for="username">${_('Username')}:</label> |
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 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
48 ${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
|
49 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
50 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
51 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
52 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
53 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
54 <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
|
55 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
56 <div class="input"> |
1366
9c0f5d558789
fixes #200, rewrote the whole caching mechanism to get rid of such problems. Now cached instances are attached
Marcin Kuzminski <marcin@python-works.com>
parents:
1297
diff
changeset
|
57 ${h.password('new_password',class_="medium",autocomplete="off")} |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
58 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
59 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
60 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
61 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
62 <div class="label"> |
697
540545d374fd
fixes for #66 renamed name to First Name
Marcin Kuzminski <marcin@python-works.com>
parents:
665
diff
changeset
|
63 <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
|
64 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
65 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
66 ${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
|
67 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
68 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
69 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
70 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
71 <div class="label"> |
697
540545d374fd
fixes for #66 renamed name to First Name
Marcin Kuzminski <marcin@python-works.com>
parents:
665
diff
changeset
|
72 <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
|
73 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
74 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
75 ${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
|
76 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
77 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
78 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
79 <div class="field"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
80 <div class="label"> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
81 <label for="email">${_('Email')}:</label> |
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 <div class="input"> |
699
52da7cba88a6
Code refactor for auth func, preparing for ldap support
Marcin Kuzminski <marcin@python-works.com>
parents:
698
diff
changeset
|
84 ${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
|
85 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
86 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
87 |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
88 <div class="buttons"> |
888
6b40654afa1e
css optimizations
Marcin Kuzminski <marcin@python-works.com>
parents:
766
diff
changeset
|
89 ${h.submit('save','Save',class_="ui-button")} |
6b40654afa1e
css optimizations
Marcin Kuzminski <marcin@python-works.com>
parents:
766
diff
changeset
|
90 ${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
|
91 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
92 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
93 </div> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
94 ${h.end_form()} |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
95 </div> |
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
96 </div> |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
97 |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
98 <div class="box box-right"> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
99 <!-- box / title --> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
100 <div class="title"> |
718
7df3855bf6c7
Added fork name to journal
Marcin Kuzminski <marcin@python-works.com>
parents:
699
diff
changeset
|
101 <h5>${_('My repositories')} |
647
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
102 <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
|
103 </h5> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
104 %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
|
105 <ul class="links"> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
106 <li> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
107 <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
|
108 </li> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
109 </ul> |
03c242fbca9c
added add repository to my view
Marcin Kuzminski <marcin@python-works.com>
parents:
718
diff
changeset
|
110 %endif |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
111 </div> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
112 <!-- end box / title --> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
113 <div class="table"> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
114 <table> |
663
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
115 <thead> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
116 <tr> |
6199b34d349b
fixed html templates, fixed overal rhodecode width to 1024pixels
Marcin Kuzminski <marcin@python-works.com>
parents:
647
diff
changeset
|
117 <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
|
118 <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
|
119 <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
|
120 </thead> |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
121 <tbody> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
122 %if c.user_repos: |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
123 %for repo in c.user_repos: |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
124 <tr> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
125 <td> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
126 %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
|
127 <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
|
128 %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
|
129 <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
|
130 %else: |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
131 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
132 %endif |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
133 %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
|
134 <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
|
135 %else: |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
136 <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
|
137 %endif |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
138 |
1171
2ab211e0aecd
changes for #56
Marcin Kuzminski <marcin@python-works.com>
parents:
1116
diff
changeset
|
139 ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")} |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
140 %if repo['dbrepo_fork']: |
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
141 <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
|
142 <img class="icon" alt="${_('public')}" |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
143 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
|
144 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
|
145 %endif |
6fc59ac322ca
added info about forked repository in few places
Marcin Kuzminski <marcin@python-works.com>
parents:
525
diff
changeset
|
146 </td> |
904
82aaf4e71817
reimplemented tooltip, refactored tooltip_title into title for proper html,
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
147 <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> |
1171
2ab211e0aecd
changes for #56
Marcin Kuzminski <marcin@python-works.com>
parents:
1116
diff
changeset
|
148 <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> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
149 <td> |
1171
2ab211e0aecd
changes for #56
Marcin Kuzminski <marcin@python-works.com>
parents:
1116
diff
changeset
|
150 ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} |
2ab211e0aecd
changes for #56
Marcin Kuzminski <marcin@python-works.com>
parents:
1116
diff
changeset
|
151 ${h.submit('remove_%s' % 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
|
152 ${h.end_form()} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
153 </td> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
154 </tr> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
155 %endfor |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
156 %else: |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
157 ${_('No repositories yet')} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
158 %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
159 ${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
|
160 %endif |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
450
diff
changeset
|
161 %endif |
447
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
162 </tbody> |
70c2750531d3
rewrote sorting on main page, to clickable headers.
Marcin Kuzminski <marcin@python-works.com>
parents:
446
diff
changeset
|
163 </table> |
446
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
164 </div> |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
165 |
a0a93357f954
started my page rewrite
Marcin Kuzminski <marcin@python-works.com>
parents:
403
diff
changeset
|
166 </div> |
647
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
167 <script type="text/javascript"> |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
168 var D = YAHOO.util.Dom; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
169 var E = YAHOO.util.Event; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
170 var S = YAHOO.util.Selector; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
171 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
172 var q_filter = D.get('q_filter'); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
173 var F = YAHOO.namespace('q_filter'); |
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 E.on(q_filter,'click',function(){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
176 q_filter.value = ''; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
177 }); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
178 |
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 F.updateFilter = function() { |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
182 // Reset timeout |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
183 F.filterTimeout = null; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
184 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
185 var obsolete = []; |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
186 var nodes = S.query('div.table tr td a.repo_name'); |
1297
d87997ed6ef1
fixed problem with quick filter mixed case search patterns
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
187 var req = q_filter.value.toLowerCase(); |
647
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 D.setStyle(nodes[n].parentNode.parentNode,'display','') |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
190 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
191 if (req){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
192 for (n in nodes){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
193 if (nodes[n].innerHTML.toLowerCase().indexOf(req) == -1) { |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
194 obsolete.push(nodes[n]); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
195 } |
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 if(obsolete){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
198 for (n in obsolete){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
199 D.setStyle(obsolete[n].parentNode.parentNode,'display','none'); |
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 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
202 } |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
203 } |
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 E.on(q_filter,'keyup',function(e){ |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
206 clearTimeout(F.filterTimeout); |
1453
55a4cbcd464d
fixed timeout reset on active filters searches, should work faster now !
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
207 F.filterTimeout = setTimeout(F.updateFilter,600); |
647
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
208 }); |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
209 |
5e209dcd3821
Added quickfilter into my account.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
210 </script> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
211 </%def> |