|
| 1 | +{% extends "basic/layout.html" %} |
| 2 | +{%- block doctype -%} |
| 3 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 4 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 5 | +{%- endblock %} |
| 6 | +{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} |
| 7 | +{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} |
| 8 | +{%- block linktags %} |
| 9 | + {%- if hasdoc('about') %} |
| 10 | + <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" /> |
| 11 | + {%- endif %} |
| 12 | + {%- if hasdoc('genindex') %} |
| 13 | + <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" /> |
| 14 | + {%- endif %} |
| 15 | + {%- if hasdoc('search') %} |
| 16 | + <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" /> |
| 17 | + {%- endif %} |
| 18 | + {%- if hasdoc('copyright') %} |
| 19 | + <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" /> |
| 20 | + {%- endif %} |
| 21 | + <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" /> |
| 22 | + {%- if parents %} |
| 23 | + <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" /> |
| 24 | + {%- endif %} |
| 25 | + {%- if next %} |
| 26 | + <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" /> |
| 27 | + {%- endif %} |
| 28 | + {%- if prev %} |
| 29 | + <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" /> |
| 30 | + {%- endif %} |
| 31 | +{%- endblock %} |
| 32 | +{%- block extrahead %} {% endblock %} |
| 33 | +{%- block header %}{% endblock %} |
| 34 | +{%- block relbar1 %} |
| 35 | +<div id="docstitle"> |
| 36 | + <p>{{docstitle}}</p> |
| 37 | +</div> |
| 38 | +<div id="header"> |
| 39 | + <div id="title"><h1>{{ title|striptags }}</h1></div> |
| 40 | + <ul id="headerButtons"> |
| 41 | + <li id="toc_button"><div class="headerButton"><a href="#">Table of Contents</a></div></li> |
| 42 | + <li id="page_buttons"> |
| 43 | + {%- for rellink in rellinks %} |
| 44 | + <div class="headerButton"><a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}" {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a></div> |
| 45 | + {%- endfor %} |
| 46 | + </li> |
| 47 | + </ul> |
| 48 | +</div> |
| 49 | +{% endblock %} |
| 50 | + |
| 51 | +{%- block sidebar1 %} |
| 52 | +{%- if not embedded %}{% if not theme_nosidebar|tobool %} |
| 53 | +<div id="sphinxsidebar"> |
| 54 | + <div class="sphinxsidebarwrapper"> |
| 55 | + {%- block sidebarlogo %} |
| 56 | + {%- if logo %} |
| 57 | + <p class="logo"><a href="{{ pathto(master_doc) }}"> |
| 58 | + <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/> |
| 59 | + </a></p> |
| 60 | + {%- endif %} |
| 61 | + {%- endblock %} |
| 62 | + {%- block sidebartoc %} |
| 63 | + <ul><li class="toctree-l1"><a href="{{ pathto(master_doc) }}">{{ _('Main Page') }}</a></li></ul> |
| 64 | + {{ toctree() }} |
| 65 | + {%- endblock %} |
| 66 | + {%- block sidebarrel %} |
| 67 | + {%- endblock %} |
| 68 | + {%- block sidebarsourcelink %} |
| 69 | + {%- if show_source and has_source and sourcename %} |
| 70 | + <h3>{{ _('This Page') }}</h3> |
| 71 | + <ul class="this-page-menu"> |
| 72 | + <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" |
| 73 | + rel="nofollow">{{ _('Show Source') }}</a></li> |
| 74 | + </ul> |
| 75 | + {%- endif %} |
| 76 | + {%- endblock %} |
| 77 | + {%- if customsidebar %} |
| 78 | + {% include customsidebar %} |
| 79 | + {%- endif %} |
| 80 | + {%- block sidebarsearch %} |
| 81 | + {%- if pagename != "search" %} |
| 82 | + <div id="searchbox" style="display: none"> |
| 83 | + {# <h3>{{ _('Quick search') }}</h3> #} |
| 84 | + <form class="search" action="{{ pathto('search') }}" method="get"> |
| 85 | + <div class="search-wrapper"> |
| 86 | + <span class="search-left"></span> |
| 87 | + <input class="prettysearch" type="text" name="q" size="18" /> |
| 88 | + <span class="search-right"> </span> |
| 89 | + </div> |
| 90 | + <input type="submit" value="{{ _('Search') }}" class="searchbutton" /> |
| 91 | + <input type="hidden" name="check_keywords" value="yes" /> |
| 92 | + <input type="hidden" name="area" value="default" /> |
| 93 | + </form> |
| 94 | + <p class="searchtip" style="font-size: 90%"> |
| 95 | + {{ _('Enter search terms or a module, class or function name.') }} |
| 96 | + </p> |
| 97 | + </div> |
| 98 | + <script type="text/javascript">$('#searchbox').show(0);</script> |
| 99 | + {%- endif %} |
| 100 | + {%- endblock %} |
| 101 | + </div> |
| 102 | +</div> |
| 103 | +{%- endif %}{% endif %} |
| 104 | + |
| 105 | +{% endblock %} |
| 106 | +{%- block document %} |
| 107 | + <div class="documentwrapper"> |
| 108 | + {%- if not embedded %}{% if not theme_nosidebar|tobool %} |
| 109 | + <div class="bodywrapper"> |
| 110 | + {%- endif %}{% endif %} |
| 111 | + <div class="body"> |
| 112 | + {% block body %} {% endblock %} |
| 113 | + </div> |
| 114 | + {%- if not embedded %}{% if not theme_nosidebar|tobool %} |
| 115 | + </div> |
| 116 | + {%- endif %}{% endif %} |
| 117 | + </div> |
| 118 | + <div class="footer"> |
| 119 | + <p>{%- if hasdoc('copyright') %} |
| 120 | + {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} |
| 121 | + {%- else %} |
| 122 | + {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} |
| 123 | + {%- endif %} |
| 124 | + {%- if last_updated %} |
| 125 | + {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} |
| 126 | + {%- endif %} |
| 127 | + {%- if show_sphinx %} |
| 128 | + {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} |
| 129 | + {%- endif %} |
| 130 | + </p> |
| 131 | + </div> |
| 132 | +{%- endblock %} |
| 133 | +{%- block sidebar2 %}{% endblock %} |
| 134 | +{%- block relbar2 %}{% endblock %} |
| 135 | +{%- block footer %} |
| 136 | + <div id="breadcrumbs"> |
| 137 | + {%- for parent in parents %} |
| 138 | + <a href="{{ parent.link|e }}" {{ accesskey("U") }}>{{ parent.title }}</a><img src="triangle_closed.png" alt="Right arrow"> |
| 139 | + {%- endfor %} |
| 140 | + <a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a> |
| 141 | + </ul> |
| 142 | + </div> |
| 143 | +{%- endblock %} |
0 commit comments