Mercurial > kallithea
annotate pylons_app/templates/base/base.html @ 105:3ac4350b7848
Html updates and fixes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 25 Apr 2010 22:45:54 +0200 |
parents | 2dc0c8e4f384 |
children | 5e2470ebdbc6 |
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> | |
105
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
102
diff
changeset
|
22 <div id="main"> |
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
102
diff
changeset
|
23 ${next.main()} |
3ac4350b7848
Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
102
diff
changeset
|
24 </div> |
44 | 25 <div class="page-footer"> |
63
3cf0603cd4f5
Templating small fixes
Marcin Kuzminski <marcin@python-blog.com>
parents:
50
diff
changeset
|
26 Mercurial App © 2010 |
44 | 27 </div> |
0 | 28 |
44 | 29 <div id="powered-by"> |
30 <p> | |
31 <a href="http://mercurial.selenic.com/" title="Mercurial"> | |
101
8b06c420491d
statics moved to pylons.
Marcin Kuzminski <marcin@python-works.com>
parents:
98
diff
changeset
|
32 <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a> |
44 | 33 </p> |
34 </div> | |
0 | 35 |
44 | 36 <div id="corner-top-left"></div> |
37 <div id="corner-top-right"></div> | |
38 <div id="corner-bottom-left"></div> | |
39 <div id="corner-bottom-right"></div> | |
0 | 40 |
44 | 41 </div> |
42 </body> | |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
43 </html> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
44 |
91
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
45 <%def name="page_nav()"> |
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 ${self.menu()} |
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 </%def> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
50 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
51 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
52 <%def name="menu(current)"> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
53 <ul class="page-nav"> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
54 |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
55 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
56 %if current=='summary': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
57 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
58 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
59 >${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
|
60 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
61 %if current=='changelog': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
62 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
63 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
64 >${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
|
65 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
66 %if current=='branches': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
67 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
68 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
69 >${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
|
70 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
71 %if current=='tags': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
72 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
73 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
74 >${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
|
75 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
76 %if current=='graph': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
77 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
78 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
79 >${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
|
80 <li |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
81 %if current=='files': |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
82 class='current' |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
83 %endif |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
84 >${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
|
85 </ul> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
86 </%def> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
87 |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
88 <%def name="css()"> |
102
2dc0c8e4f384
Updated tempaltes, added file browser breadcrumbs, and feed icons
Marcin Kuzminski <marcin@python-works.com>
parents:
101
diff
changeset
|
89 <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
|
90 </%def> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
91 |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
92 <%def name="js()"> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
93 <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
|
94 </%def> |