JWS-114 Fixed what the default for local and cluster should (also considering people...
[jabaws.git] / docs / _themes / sphinx_rtd_theme / layout_old.html
1 {#
2     basic/layout.html
3     ~~~~~~~~~~~~~~~~~
4
5     Master layout template for Sphinx themes.
6
7     :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
8     :license: BSD, see LICENSE for details.
9 #}
10 {%- block doctype -%}
11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
12   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13 {%- endblock %}
14 {%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
15 {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
16 {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and
17                          (sidebars != []) %}
18 {%- set url_root = pathto('', 1) %}
19 {# XXX necessary? #}
20 {%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
21 {%- if not embedded and docstitle %}
22   {%- set titlesuffix = " &mdash; "|safe + docstitle|e %}
23 {%- else %}
24   {%- set titlesuffix = "" %}
25 {%- endif %}
26
27 {%- macro relbar() %}
28     <div class="related">
29       <h3>{{ _('Navigation') }}</h3>
30       <ul>
31         {%- for rellink in rellinks %}
32         <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
33           <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
34              {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
35           {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
36         {%- endfor %}
37         {%- block rootrellink %}
38         <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}</li>
39         {%- endblock %}
40         {%- for parent in parents %}
41           <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
42         {%- endfor %}
43         {%- block relbaritems %} {% endblock %}
44       </ul>
45     </div>
46 {%- endmacro %}
47
48 {%- macro sidebar() %}
49       {%- if render_sidebar %}
50       <div class="sphinxsidebar">
51         <div class="sphinxsidebarwrapper">
52           {%- block sidebarlogo %}
53           {%- if logo %}
54             <p class="logo"><a href="{{ pathto(master_doc) }}">
55               <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
56             </a></p>
57           {%- endif %}
58           {%- endblock %}
59           {%- if sidebars != None %}
60             {#- new style sidebar: explicitly include/exclude templates #}
61             {%- for sidebartemplate in sidebars %}
62             {%- include sidebartemplate %}
63             {%- endfor %}
64           {%- else %}
65             {#- old style sidebars: using blocks -- should be deprecated #}
66             {%- block sidebartoc %}
67             {%- include "localtoc.html" %}
68             {%- endblock %}
69             {%- block sidebarrel %}
70             {%- include "relations.html" %}
71             {%- endblock %}
72             {%- block sidebarsourcelink %}
73             {%- include "sourcelink.html" %}
74             {%- endblock %}
75             {%- if customsidebar %}
76             {%- include customsidebar %}
77             {%- endif %}
78             {%- block sidebarsearch %}
79             {%- include "searchbox.html" %}
80             {%- endblock %}
81           {%- endif %}
82         </div>
83       </div>
84       {%- endif %}
85 {%- endmacro %}
86
87 {%- macro script() %}
88     <script type="text/javascript">
89       var DOCUMENTATION_OPTIONS = {
90         URL_ROOT:    '{{ url_root }}',
91         VERSION:     '{{ release|e }}',
92         COLLAPSE_INDEX: false,
93         FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
94         HAS_SOURCE:  {{ has_source|lower }},
95         SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
96       };
97     </script>
98     {%- for scriptfile in script_files %}
99     <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
100     {%- endfor %}
101 {%- endmacro %}
102
103 {%- macro css() %}
104     <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
105     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
106     {%- for cssfile in css_files %}
107     <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
108     {%- endfor %}
109 {%- endmacro %}
110
111 <html xmlns="http://www.w3.org/1999/xhtml">
112   <head>
113     <meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}" />
114     {{ metatags }}
115     {%- block htmltitle %}
116     <title>{{ title|striptags|e }}{{ titlesuffix }}</title>
117     {%- endblock %}
118     {{ css() }}
119     {%- if not embedded %}
120     {{ script() }}
121     {%- if use_opensearch %}
122     <link rel="search" type="application/opensearchdescription+xml"
123           title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
124           href="{{ pathto('_static/opensearch.xml', 1) }}"/>
125     {%- endif %}
126     {%- if favicon %}
127     <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
128     {%- endif %}
129     {%- if theme_canonical_url %}
130     <link rel="canonical" href="{{ theme_canonical_url }}{{ pagename }}.html"/>
131     {%- endif %}
132     {%- endif %}
133 {%- block linktags %}
134     {%- if hasdoc('about') %}
135     <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
136     {%- endif %}
137     {%- if hasdoc('genindex') %}
138     <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
139     {%- endif %}
140     {%- if hasdoc('search') %}
141     <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
142     {%- endif %}
143     {%- if hasdoc('copyright') %}
144     <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
145     {%- endif %}
146     <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
147     {%- if parents %}
148     <link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}" />
149     {%- endif %}
150     {%- if next %}
151     <link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}" />
152     {%- endif %}
153     {%- if prev %}
154     <link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" />
155     {%- endif %}
156 {%- endblock %}
157 {%- block extrahead %} {% endblock %}
158   </head>
159   <body>
160 {%- block header %}{% endblock %}
161
162 {%- block relbar1 %}{{ relbar() }}{% endblock %}
163
164 {%- block content %}
165   {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
166
167     <div class="document">
168   {%- block document %}
169       <div class="documentwrapper">
170       {%- if render_sidebar %}
171         <div class="bodywrapper">
172       {%- endif %}
173           <div class="body">
174             {% block body %} {% endblock %}
175           </div>
176       {%- if render_sidebar %}
177         </div>
178       {%- endif %}
179       </div>
180   {%- endblock %}
181
182   {%- block sidebar2 %}{{ sidebar() }}{% endblock %}
183       <div class="clearer"></div>
184     </div>
185 {%- endblock %}
186
187 {%- block relbar2 %}{{ relbar() }}{% endblock %}
188
189 {%- block footer %}
190     <div class="footer">
191     {%- if show_copyright %}
192       {%- if hasdoc('copyright') %}
193         {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
194       {%- else %}
195         {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
196       {%- endif %}
197     {%- endif %}
198     {%- if last_updated %}
199       {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
200     {%- endif %}
201     {%- if show_sphinx %}
202       {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
203     {%- endif %}
204     </div>
205     <p>asdf asdf asdf asdf 22</p>
206 {%- endblock %}
207   </body>
208 </html>
209