]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | {%- macro navbar() %} |
2 | <div class="navbar" style="text-align:right;"> | |
3 | {#%- if parents|count > 0 %#} | |
4 | {#{ parents[1].title }#} | |
5 | {%- if prev %} | |
6 | <a class="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}"><img src="{{ pathto('_static/prev.png', 1) }}" alt="prev"/></a> | |
7 | {%- endif %} | |
8 | {%- if parents %} | |
9 | <a class="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}"><img src="{{ pathto('_static/up.png', 1) }}" alt="up"/></a> | |
10 | {%- endif %} | |
11 | {%- if next %} | |
12 | <a class="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}"><img src="{{ pathto('_static/next.png', 1) }}" alt="next"/></a> | |
13 | {%- endif %} | |
14 | {#%- endif %#} | |
15 | </div> | |
16 | {%- endmacro %} | |
17 | ||
18 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
19 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
20 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
21 | <head> | |
22 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
23 | {{ metatags }} | |
24 | {%- if builder != 'htmlhelp' %} | |
25 | {%- set titlesuffix = docstitle|e %} | |
26 | {%- set titlesuffix = " - " + titlesuffix %} | |
27 | {%- endif %} | |
28 | <title>{{ title|striptags }}{{ titlesuffix }}</title> | |
29 | {%- if builder == 'web' %} | |
30 | <link rel="stylesheet" href="{{ pathto('index') }}?do=stylesheet{% | |
31 | if in_admin_panel %}&admin=yes{% endif %}" type="text/css" /> | |
32 | {%- for link, type, title in page_links %} | |
33 | <link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}" /> | |
34 | {%- endfor %} | |
35 | {%- else %} | |
36 | <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> | |
37 | <link rel="stylesheet" href="{{ pathto('_static/style.css', 1) }}" type="text/css" /> | |
38 | ||
39 | {%- endif %} | |
40 | {%- if builder != 'htmlhelp' %} | |
41 | <script type="text/javascript"> | |
42 | var DOCUMENTATION_OPTIONS = { | |
43 | URL_ROOT: '{{ pathto("", 1) }}', | |
44 | VERSION: '{{ release|e }}', | |
45 | COLLAPSE_MODINDEX: false, | |
46 | FILE_SUFFIX: '{{ file_suffix }}' | |
47 | }; | |
48 | </script> | |
49 | {%- for scriptfile in script_files %} | |
50 | <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> | |
51 | {%- endfor %} | |
52 | {%- if use_opensearch %} | |
53 | <link rel="search" type="application/opensearchdescription+xml" | |
54 | title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}" | |
55 | href="{{ pathto('_static/opensearch.xml', 1) }}"/> | |
56 | {%- endif %} | |
57 | {%- if favicon %} | |
58 | <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/> | |
59 | {%- endif %} | |
60 | {%- endif %} | |
61 | {%- block linktags %} | |
62 | {%- if hasdoc('about') %} | |
63 | <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" /> | |
64 | {%- endif %} | |
65 | <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" /> | |
66 | <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" /> | |
67 | {%- if hasdoc('copyright') %} | |
68 | <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" /> | |
69 | {%- endif %} | |
70 | <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" /> | |
71 | {%- if parents %} | |
72 | <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" /> | |
73 | {%- endif %} | |
74 | {%- if next %} | |
75 | <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" /> | |
76 | {%- endif %} | |
77 | {%- if prev %} | |
78 | <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" /> | |
79 | {%- endif %} | |
80 | {%- endblock %} | |
81 | {%- block extrahead %} {% endblock %} | |
82 | </head> | |
83 | <body> | |
84 | <div class="header"> | |
85 | <table border="0" cellpadding="7" cellspacing="0" width="100%" summary= | |
86 | "header"> | |
87 | <tr> | |
88 | <td valign="top" width="300"> | |
89 | <h3><a href="{{ pathto('index') }}"><img | |
90 | alt="C++ Boost" src="{{ pathto('_static/' + logo, 1) }}" border="0"></a></h3> | |
91 | </td> | |
92 | ||
93 | <td > | |
94 | <h1 align="center"><a href="{{ pathto('index') }}">(NumPy)</a></h1> | |
95 | <!-- <h2 align="center">CallPolicies Concept</h2>--> | |
96 | </td> | |
97 | <td> | |
98 | {%- if pagename != "search" %} | |
99 | <div id="searchbox" style="display: none"> | |
100 | <form class="search" action="{{ pathto('search') }}" method="get"> | |
101 | <input type="text" name="q" size="18" /> | |
102 | <input type="submit" value="{{ _('Search') }}" /> | |
103 | <input type="hidden" name="check_keywords" value="yes" /> | |
104 | <input type="hidden" name="area" value="default" /> | |
105 | </form> | |
106 | </div> | |
107 | <script type="text/javascript">$('#searchbox').show(0);</script> | |
108 | {%- endif %} | |
109 | </td> | |
110 | </tr> | |
111 | </table> | |
112 | </div> | |
113 | <hr/> | |
114 | <div class="content"> | |
115 | {%- block top_navbar %}{{ navbar() }}{% endblock %} | |
116 | {% block body %} {% endblock %} | |
117 | {%- block bottom_navbar %}{{ navbar() }}{% endblock %} | |
118 | </div> | |
119 | </body> | |
120 | </html> |