Debian Codegraph @

easydev/share/themes/cno/layout.html

raw ◀ ▶
1 Debian patch touch this file
1 {% extends "agogo/layout.html" %}
2
3
4
5 {% block header %}
6 <div class="header-wrapper">
7 <div class="header">
8 {%- if logo %}
9 <p class="logo">
10 <a href="{{ pathto(master_doc) }}">
11 <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
12 <p>{{ shorttitle|e }}</p>
13 </a>
14 </p>
15 {%- endif %}
16
17 {%- block headertitle %}
18 <h1><a href="http://www.cellnopt.org"> CellNOpt homepage|</a><a href="{{ pathto(master_doc) }}">{{ docstitle|e }}</a>
19 </h1>
20 <div class="rel">
21 {%- for rellink in rellinks|reverse %}
22 <a href="{{ pathto(rellink[0]) }}"
23 title="{{ rellink[1]|striptags|e }}"
24 {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
25 {%- if not loop.last %}{{ reldelim2 }}{% endif %}
26 {%- endfor %}
27 </div>
28 {%- endblock %}
29 </div>
30 </div>
31 {% endblock %}
32
33
34
35
36
37 {% block rootrellink %}
38 {# Top of the main page #}
39 <li><a href="http://www.cellnopt.org/software">Return to Thomas Cokelaer Front page</a> |&nbsp;</li>
40 <li><a href="{{ pathto('contents') }}">{{project.split('.')[0]|title}} Documentation </a> &raquo;</li>
41 {% endblock %}
42
43
44 {% block extrahead %}
45 <script type="text/javascript"><!--
46 function gen_mail_to_link(lhs,rhs)
47 {
48 document.write("<A HREF=\"mailto");
49 document.write(":" + lhs + "@");
50 document.write(rhs "\">" + lhs + "@" + rhs + "<\/A>");
51 }
52 // --> </script>
53
54
55 {% endblock %}
56
57 {% block footer %}
58 <div class="footer-wrapper">
59 <div class="footer">
60
61
62 {# <div class="left">
63 {%- for rellink in rellinks|reverse %}
64 <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
65 {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
66 {%- if not loop.last %}{{ reldelim2 }}{% endif %}
67 {%- endfor %}
68 <br/>
69 {%- if show_source and has_source and sourcename %}
70 <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
71 rel="nofollow">{{ _('Show Source') }}</a>
72 {%- endif %}
73 </div>
74 #}
75
76 <div class="right">
77 {% trans path=pathto('copyright'), copyright=copyright|e %}&copy;
78 <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
79
80
81 {%- if last_updated %}
82 {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.
83 {% endtrans %}
84 {%- endif %}
85 <br/>
86 {%- if show_sphinx %}
87 {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
88 {%- endif %}
89 <br/>
90
91
92 </div>
93 <div class="clearer"></div>
94 </div>
95 </div>
96 {% endblock %}
97
98 {% block content %}
99 <div class="content-wrapper">
100 <div class="content">
101 <div class="document">
102
103 {%- block document %}
104 {{ super() }}
105 {%- endblock %}
106 </div>
107 <div class="sidebar">
108
109
110 {%- block sidebarsearch %}
111 {{ super() }}
112 <hr />
113 <a href="authors.html">Authors and Contacts</a><hr>
114 <a href="contribute.html">How to contribute ?</a>
115 <hr />
116 {%- if show_source and has_source and sourcename %}
117 This page: <a href="{{ pathto('_sources/' + sourcename, true)|e }}">Show source.</a>
118 <hr />
119
120
121 {%- block sidebartoc %}
122 <h3><a href="index.html">{{ _('Table Of Contents') }}</a></h3>
123 {{ toctree() }}
124 {%- endblock %}
125 <hr />
126 {%- endif %}
127
128 {%- endblock %}
129 </div>
130 <div class="clearer"></div>
131 </div>
132 </div>
133 {% endblock %}
134
135
136
137 {# KEEP THIS as an example
138
139 {% block relbar1 %}
140 <div style="background-color: red; text-align: left; padding: 10px 10px 15px 15px">
141 </div>
142 {{ super() }}
143 {% endblock %}
144 #}
145
146 {# put the sidebar before the body #}
147 {% block sidebar1 %}{{ sidebar() }}{% endblock %}
148 {% block sidebar2 %}{% endblock %}