Mercurial > kallithea
annotate pylons_app/templates/admin/admin_log.html @ 403:0659a891d975
fixed title on my account page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 08 Aug 2010 13:13:42 +0200 |
parents | 558eb7c5028f |
children | 8ba65e4c4e4c |
rev | line source |
---|---|
83
db39d0ca5308
implemented Shortlog as seperate controller,
Marcin Kuzminski <marcin@python-blog.com>
parents:
79
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
2 %if c.users_log: |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
3 <table> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
4 <tr> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
5 <th class="left">${_('Username')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
6 <th class="left">${_('Repository')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
7 <th class="left">${_('Action')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
8 <th class="left">${_('Date')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
9 <th class="left">${_('From IP')}</th> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
10 </tr> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
11 |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
12 %for cnt,l in enumerate(c.users_log): |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
13 <tr class="parity${cnt%2}"> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
14 <td>${l.user.username}</td> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
15 <td>${l.repository}</td> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
16 <td>${l.action}</td> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
17 <td>${l.action_date}</td> |
331
a9a6c74ad2a6
added ip loggin into mercurial middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
18 <td>${l.user_ip}</td> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
19 </tr> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
20 %endfor |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
21 </table> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
22 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
23 <script type="text/javascript"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
24 var data_div = 'user_log'; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
25 YAHOO.util.Event.onDOMReady(function(){ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
26 YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
27 YAHOO.util.Dom.setStyle('shortlog_data','opacity','0.3');});}); |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
28 </script> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
29 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
30 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
31 <div class="pagination-wh pagination-left"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
32 ${c.users_log.pager('$link_previous ~2~ $link_next', |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
33 onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
34 success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
35 YAHOO.util.Event.addListener(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
36 YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
331
diff
changeset
|
37 YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} |
105
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
38 </div> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
39 %else: |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
40 ${_('No actions yet')} |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
41 %endif |