annotate rhodecode/templates/admin/admin.html @ 1421:c6b811f11c94 beta

Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 09 Jul 2011 20:07:59 +0200
parents b79e720bac0c
children 91708b96e991
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
43
2e1247e62c5b changed for pylons 0.1 / 1.0
marcink
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 108
diff changeset
2 <%inherit file="/base/base.html"/>
175
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
3
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
4 <%def name="title()">
619
a1ec653f5f95 #38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
5 ${_('Admin journal')} - ${c.rhodecode_name}
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
6 </%def>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
7
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
8 <%def name="breadcrumbs_links()">
619
a1ec653f5f95 #38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
9 ${_('Admin journal')}
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
10 </%def>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
11
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
12 <%def name="page_nav()">
182
11e8eb5a92e3 new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents: 175
diff changeset
13 ${self.menu('admin')}
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
14 </%def>
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
15 <%def name="main()">
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
16 <div class="box">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
17 <!-- box / title -->
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
18 <div class="title">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
19 ${self.breadcrumbs()}
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
20 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
21 <!-- end box / title -->
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
22 <div class="table">
997
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
23 <script type="text/javascript">
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
24 function show_more_event(){
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
25 YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
26 var el = e.target;
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
27 YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
28 YUD.setStyle(el.parentNode,'display','none');
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
29 });
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
30 }
b79e720bac0c fixed admin log tooltips
Marcin Kuzminski <marcin@python-works.com>
parents: 619
diff changeset
31 </script>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
32 <div id="user_log">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
33 ${c.log_data}
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
34 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
35 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 308
diff changeset
36 </div>
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
37 </%def>