Mercurial > kallithea
annotate pylons_app/templates/base/base.html @ 102:2dc0c8e4f384
Updated tempaltes, added file browser breadcrumbs, and feed icons
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 25 Apr 2010 18:42:58 +0200 |
parents | 8b06c420491d |
children | 3ac4350b7848 |
rev | line source |
---|---|
0 | 1 ## -*- coding: utf-8 -*- |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | |
4 <head> | |
101
8b06c420491d
statics moved to pylons.
Marcin Kuzminski <marcin@python-works.com>
parents:
98
diff
changeset
|
5 <link rel="icon" href="/images/hgicon.png" type="image/png" /> |
44 | 6 <meta name="robots" content="index, nofollow"/> |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
7 <title>${next.title()}</title> |
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
8 ${self.css()} |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
9 ${self.js()} |
0 | 10 </head> |
11 | |
44 | 12 <body> |
13 <div id="container"> | |
14 <div class="page-header"> | |
15 <h1> | |
16 ${next.breadcrumbs()} | |
17 </h1> | |
18 <ul class="page-nav"> | |
91
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
19 ${self.page_nav()} |
44 | 20 </ul> |
21 </div> | |
22 ${next.main()} | |
23 <div class="page-footer"> | |
63
3cf0603cd4f5
Templating small fixes
Marcin Kuzminski <marcin@python-blog.com>
parents:
50
diff
changeset
|
24 Mercurial App © 2010 |
44 | 25 </div> |
0 | 26 |
44 | 27 <div id="powered-by"> |
28 <p> | |
29 <a href="http://mercurial.selenic.com/" title="Mercurial"> | |
101
8b06c420491d
statics moved to pylons.
Marcin Kuzminski <marcin@python-works.com>
parents:
98
diff
changeset
|
30 <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a> |
44 | 31 </p> |
32 </div> | |
0 | 33 |
44 | 34 <div id="corner-top-left"></div> |
35 <div id="corner-top-right"></div> | |
36 <div id="corner-bottom-left"></div> | |
37 <div id="corner-bottom-right"></div> | |
0 | 38 |
44 | 39 </div> |
40 </body> | |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
41 </html> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
42 |
91
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
43 <%def name="page_nav()"> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
44 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
45 ${self.menu()} |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
46 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
47 </%def> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
48 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
49 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
50 <%def name="menu(current)"> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
51 <ul class="page-nav"> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
52 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
53 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
54 %if current=='summary': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
55 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
56 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
57 >${h.link_to_unless(current=='summary',_('summary'),h.url('summary_home',repo_name=c.repo_name))}</li> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
58 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
59 %if current=='changelog': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
60 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
61 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
62 >${h.link_to_unless(current=='changelog',_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}</li> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
63 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
64 %if current=='branches': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
65 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
66 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
67 >${h.link_to_unless(current=='branches',_('branches'),h.url('branches_home',repo_name=c.repo_name))}</li> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
68 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
69 %if current=='tags': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
70 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
71 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
72 >${h.link_to_unless(current=='tags',_('tags'),h.url('tags_home',repo_name=c.repo_name))}</li> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
73 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
74 %if current=='graph': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
75 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
76 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
77 >${h.link_to_unless(current=='graph',_('graph'),h.url('graph_home',repo_name=c.repo_name))}</li> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
78 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
79 %if current=='files': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
80 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
81 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
82 >${h.link_to_unless(current=='files',_('files'),h.url('files_home',repo_name=c.repo_name))}</li> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
83 </ul> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
84 </%def> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
85 |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
86 <%def name="css()"> |
102
2dc0c8e4f384
Updated tempaltes, added file browser breadcrumbs, and feed icons
Marcin Kuzminski <marcin@python-works.com>
parents:
101
diff
changeset
|
87 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
88 </%def> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
89 |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
90 <%def name="js()"> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
91 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
92 </%def> |