Mercurial > p > roundup > code
comparison website/www/_templates/layout.html @ 4022:d62831da3941 website
svn repository setup
| author | Stefan Seefeld <stefan@users.sourceforge.net> |
|---|---|
| date | Fri, 06 Feb 2009 13:15:47 +0000 |
| parents | |
| children | 5058b51243c2 |
comparison
equal
deleted
inserted
replaced
| 4021:7d3bfab365f0 | 4022:d62831da3941 |
|---|---|
| 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 {%- endif %} | |
| 10 <title>{{ title|striptags }}{{ titlesuffix }}</title> | |
| 11 {%- if builder == 'web' %} | |
| 12 <link rel="stylesheet" href="{{ pathto('index') }}?do=stylesheet{% | |
| 13 if in_admin_panel %}&admin=yes{% endif %}" type="text/css" /> | |
| 14 {%- for link, type, title in page_links %} | |
| 15 <link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}" /> | |
| 16 {%- endfor %} | |
| 17 {%- else %} | |
| 18 <link rel="stylesheet" href="{{ pathto('_static/style.css', 1) }}" type="text/css" /> | |
| 19 <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> | |
| 20 {%- endif %} | |
| 21 {%- if builder != 'htmlhelp' %} | |
| 22 <script type="text/javascript"> | |
| 23 var DOCUMENTATION_OPTIONS = { | |
| 24 URL_ROOT: '{{ pathto("", 1) }}', | |
| 25 VERSION: '{{ release|e }}', | |
| 26 COLLAPSE_MODINDEX: false, | |
| 27 FILE_SUFFIX: '{{ file_suffix }}' | |
| 28 }; | |
| 29 </script> | |
| 30 {%- for scriptfile in script_files %} | |
| 31 <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> | |
| 32 {%- endfor %} | |
| 33 {%- if use_opensearch %} | |
| 34 <link rel="search" type="application/opensearchdescription+xml" | |
| 35 title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}" | |
| 36 href="{{ pathto('_static/opensearch.xml', 1) }}"/> | |
| 37 {%- endif %} | |
| 38 {%- if favicon %} | |
| 39 <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/> | |
| 40 {%- endif %} | |
| 41 {%- endif %} | |
| 42 {%- block linktags %} | |
| 43 {%- if hasdoc('about') %} | |
| 44 <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" /> | |
| 45 {%- endif %} | |
| 46 <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" /> | |
| 47 <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" /> | |
| 48 {%- if hasdoc('copyright') %} | |
| 49 <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" /> | |
| 50 {%- endif %} | |
| 51 <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" /> | |
| 52 {%- if parents %} | |
| 53 <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" /> | |
| 54 {%- endif %} | |
| 55 {%- if next %} | |
| 56 <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" /> | |
| 57 {%- endif %} | |
| 58 {%- if prev %} | |
| 59 <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" /> | |
| 60 {%- endif %} | |
| 61 {%- endblock %} | |
| 62 {%- block extrahead %} {% endblock %} | |
| 63 </head> | |
| 64 <body> | |
| 65 <div class="header"><h1>Roundup</h1> | |
| 66 {%- if pagename != "search" %} | |
| 67 <div id="searchbox" style="display: none"> | |
| 68 <form class="search" action="{{ pathto('search') }}" method="get"> | |
| 69 <input type="text" name="q" size="18" /> | |
| 70 <input type="submit" value="{{ _('Search') }}" /> | |
| 71 <input type="hidden" name="check_keywords" value="yes" /> | |
| 72 <input type="hidden" name="area" value="default" /> | |
| 73 </form> | |
| 74 </div> | |
| 75 <script type="text/javascript">$('#searchbox').show(0);</script> | |
| 76 {%- endif %} | |
| 77 </div> | |
| 78 <div class="navigation"> | |
| 79 <div class="menu"> | |
| 80 {{ toctree }} | |
| 81 </div> | |
| 82 </div> | |
| 83 <div class="content"> | |
| 84 {% block body %} {% endblock %} | |
| 85 </div> | |
| 86 {%- block footer %} | |
| 87 <div class="footer"> | |
| 88 <p>hosted by <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=31577&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a></p> | |
| 89 {%- if hasdoc('copyright') %} | |
| 90 {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} | |
| 91 {%- else %} | |
| 92 {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} | |
| 93 {%- endif %} | |
| 94 {%- if last_updated %} | |
| 95 {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} | |
| 96 {%- endif %} | |
| 97 {%- if show_source and has_source and sourcename %} | |
| 98 <p class="source"><a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('source') }}</a></p> | |
| 99 {%- endif %} | |
| 100 </div> | |
| 101 {%- endblock %} | |
| 102 </body> | |
| 103 </html> |
