1 {% extends "basic/layout.html" %} |
|
2 |
|
3 {%- block extrahead %} |
|
4 <!--[if lte IE 6]> |
|
5 <link rel="stylesheet" href="{{ pathto('_static/ie6.css', 1) }}" type="text/css" media="screen" charset="utf-8" /> |
|
6 <![endif]--> |
|
7 {%- if theme_favicon %} |
|
8 <link rel="shortcut icon" href="{{ pathto('_static/'+theme_favicon, 1) }}"/> |
|
9 {%- endif %} |
|
10 |
|
11 {%- if theme_canonical_url %} |
|
12 <link rel="canonical" href="{{ theme_canonical_url }}{{ pagename }}.html"/> |
|
13 {%- endif %} |
|
14 {% endblock %} |
|
15 |
|
16 {% block header %} |
|
17 |
|
18 {% if theme_in_progress|tobool %} |
|
19 <img style="position: fixed; display: block; width: 165px; height: 165px; bottom: 60px; right: 0; border: 0;" src="{{ pathto('_static/in_progress.png', 1) }}" alt="Documentation in progress" /> |
|
20 {% endif %} |
|
21 |
|
22 {% if theme_outdated|tobool %} |
|
23 <div style="bottom: 60px; right: 20px;position: fixed;"><a href="{{ latest_url }}" class="btn btn-large btn-danger"><strong>></strong> Read the latest version of this page</a></div> |
|
24 {% endif %} |
|
25 |
|
26 <div class="header-small"> |
|
27 {%- if theme_logo %} |
|
28 {% set img, ext = theme_logo.split('.', -1) %} |
|
29 <div class="logo-small"> |
|
30 <a href="{{ pathto(master_doc) }}"> |
|
31 <img class="logo" src="{{ pathto('_static/%s-small.%s' % (img, ext), 1)}}" alt="Logo"/> |
|
32 </a> |
|
33 </div> |
|
34 {%- endif %} |
|
35 </div> |
|
36 {% endblock %} |
|
37 |
|
38 {%- macro relbar() %} |
|
39 <div class="related"> |
|
40 <h3>{{ _('Navigation') }}</h3> |
|
41 <ul> |
|
42 {%- for rellink in rellinks %} |
|
43 <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}> |
|
44 <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}" |
|
45 {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a> |
|
46 {%- if not loop.first %}{{ reldelim2 }}{% endif %} |
|
47 </li> |
|
48 {%- endfor %} |
|
49 {%- block rootrellink %} |
|
50 <li><a href="{{ pathto(master_doc) }}">{{ docstitle|e }}</a>{{ reldelim1 }}</li> |
|
51 {%- endblock %} |
|
52 {%- for parent in parents %} |
|
53 <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li> |
|
54 {%- endfor %} |
|
55 {%- block relbaritems %} {% endblock %} |
|
56 </ul> |
|
57 </div> |
|
58 {%- endmacro %} |
|
59 |
|
60 {%- block sidebarlogo %}{%- endblock %} |
|
61 {%- block sidebarsourcelink %}{%- endblock %} |
|