File: layout.html

package info (click to toggle)
python-easydev 0.12.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 488 kB
  • sloc: python: 1,899; javascript: 49; makefile: 11
file content (131 lines) | stat: -rw-r--r-- 3,585 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{% extends "agogo/layout.html" %}



{% block header %}
    <div class="header-wrapper">
        <div class="header">
            {%- if logo %}
              <p class="logo">
                <a href="{{ pathto(master_doc) }}">
                <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
                <p>{{ shorttitle|e }}</p>
                </a>
               </p>
            {%- endif %}

            {%- block headertitle %}
            <h1><a href="{{ pathto(master_doc) }}">{{ docstitle|e }}</a>
            </h1>
            <div class="rel">
              {%- for rellink in rellinks|reverse %}
                  <a href="{{ pathto(rellink[0]) }}" 
                    title="{{ rellink[1]|striptags|e }}"
                 {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
              {%- if not loop.last %}{{ reldelim2 }}{% endif %}
              {%- endfor %}
            </div>
            {%- endblock %}
       </div>
    </div>
{% endblock %}





{% block rootrellink %}
    {# Top of the main page #}
    <li><a href="http://www.cellnopt.org/software">Return to Thomas Cokelaer Front page</a> |&nbsp;</li>
    <li><a href="{{ pathto('contents') }}">{{project.split('.')[0]|title}} Documentation </a> &raquo;</li>
{% endblock %}


{% block extrahead %}
{% endblock %}


{% block footer %}
    <div class="footer-wrapper">
      <div class="footer">
      		<div class="left">
      {% trans path=pathto('copyright'), copyright=copyright|e %}&copy;
       <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
      
     <br/> 
       {%- if last_updated %}
       	{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.
       	{% endtrans %}
       {%- endif %}
       <br/> 
       {%- if show_sphinx %}
       {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
       {%- endif %}
       <br/> 
   		</div>

       <div class="right">
          {%- for rellink in rellinks|reverse %}
          <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
             {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
          {%- if not loop.last %}{{ reldelim2 }}{% endif %}
          {%- endfor %}
          <br/>
        </div>

        <div class="clearer"></div>
      </div>
    </div>
{% endblock %}


{% block content %}
    <div class="content-wrapper">
      <div class="content">
        <div class="document">

          {%- block document %}
            {{ super() }}
          {%- endblock %}
        </div>
        <div class="sidebar">


          	{%- block sidebarsearch %}
          		{{ super() }}
   	       	<hr />
   	       	<!-- Authors: <a></a> -->
	          <hr />
          {%- if show_source and has_source and sourcename %}
            This page: <a href="{{ pathto('_sources/' + sourcename, true)|e }}">Show source.</a>
            <hr />


          {%- block sidebartoc %}
           		<h3><a href="index.html">{{ _('Table Of Contents') }}</a></h3>
          		{{ toctree() }}
          	{%- endblock %}
          	<hr />
          {%- endif %}

          {%- endblock %}
        </div>
        <div class="clearer"></div>
      </div>
    </div>
{% endblock %}



{# KEEP THIS as an example

	{% block relbar1 %}
	<div style="background-color: red; text-align: left; padding: 10px 10px 15px 15px">
	</div>
	{{ super() }}
	{% endblock %}
#}

{# put the sidebar before the body #}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}