comparison website/www/_templates/layout.html @ 4566:b8119ba37707

Merge branch 'website'
author Eric S. Raymond <esr@thyrsus.com>
date Sun, 13 Nov 2011 11:18:42 -0500
parents b19488f673ed
children c84dbc205b57
comparison
equal deleted inserted replaced
4564:6327b1b21593 4566:b8119ba37707
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 {{ metatags }}
7 {%- if builder != 'htmlhelp' %}
8 {%- set titlesuffix = docstitle|e %}
9 {%- set titlesuffix = " - " + titlesuffix %}
10 {%- endif %}
11 <title>{{ title|striptags }}{{ titlesuffix }}</title>
12 {%- if builder == 'web' %}
13 <link rel="stylesheet" href="{{ pathto('index') }}?do=stylesheet{%
14 if in_admin_panel %}&admin=yes{% endif %}" type="text/css" />
15 {%- for link, type, title in page_links %}
16 <link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}" />
17 {%- endfor %}
18 {%- else %}
19 <link rel="stylesheet" href="{{ pathto('_static/style.css', 1) }}" type="text/css" />
20 <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
21
22 {%- endif %}
23 {%- if builder != 'htmlhelp' %}
24 <script type="text/javascript">
25 var DOCUMENTATION_OPTIONS = {
26 URL_ROOT: '{{ pathto("", 1) }}',
27 VERSION: '{{ release|e }}',
28 COLLAPSE_MODINDEX: false,
29 FILE_SUFFIX: '{{ file_suffix }}'
30 };
31 </script>
32 {%- for scriptfile in script_files %}
33 <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
34 {%- endfor %}
35 {%- if use_opensearch %}
36 <link rel="search" type="application/opensearchdescription+xml"
37 title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
38 href="{{ pathto('_static/opensearch.xml', 1) }}"/>
39 {%- endif %}
40 {%- if favicon %}
41 <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
42 {%- endif %}
43 {%- endif %}
44 {%- block linktags %}
45 {%- if hasdoc('about') %}
46 <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
47 {%- endif %}
48 <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
49 <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
50 {%- if hasdoc('copyright') %}
51 <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
52 {%- endif %}
53 <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
54 {%- if parents %}
55 <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" />
56 {%- endif %}
57 {%- if next %}
58 <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" />
59 {%- endif %}
60 {%- if prev %}
61 <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" />
62 {%- endif %}
63 {%- endblock %}
64 {%- block extrahead %} {% endblock %}
65 </head>
66 <body>
67 <div class="header"><h1>Roundup</h1>
68 {%- if pagename != "search" %}
69 <div id="searchbox" style="display: none">
70 <form class="search" action="{{ pathto('search') }}" method="get">
71 <input type="text" name="q" size="18" />
72 <input type="submit" value="{{ _('Search') }}" />
73 <input type="hidden" name="check_keywords" value="yes" />
74 <input type="hidden" name="area" value="default" />
75 </form>
76 </div>
77 <script type="text/javascript">$('#searchbox').show(0);</script>
78 {%- endif %}
79 </div>
80 <div class="navigation">
81 <div class="menu">
82 {{ toctree() }}
83 </div>
84 <script type="text/javascript" src="http://www.ohloh.net/p/488/widgets/project_users_logo.js"></script>
85 </div>
86 <div class="content">
87 {% block body %} {% endblock %}
88 </div>
89 {%- block footer %}
90 <div class="footer">
91 <p>hosted by <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=31577&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a></p>
92 {%- if hasdoc('copyright') %}
93 {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
94 {%- else %}
95 {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
96 {%- endif %}
97 {%- if last_updated %}
98 {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
99 {%- endif %}
100 {%- if show_source and has_source and sourcename %}
101 <p class="source"><a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('source') }}</a></p>
102 {%- endif %}
103 </div>
104 {%- endblock %}
105 </body>
106 </html>

Roundup Issue Tracker: http://roundup-tracker.org/