File: layout.html

package info (click to toggle)
wxpython4.0 4.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 221,752 kB
  • sloc: cpp: 962,555; python: 230,573; ansic: 170,731; makefile: 51,756; sh: 9,342; perl: 1,564; javascript: 584; php: 326; xml: 200
file content (76 lines) | stat: -rw-r--r-- 2,603 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
{% extends "basic/layout.html" %}

{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool)
    and (sidebars != []) %}

{% macro phoenixsidebar() %}
   {%- if render_sidebar %}{{ sidebar() }}{%- endif %}
{% endmacro %}

{% macro sidebarcss() %}
  {%- if not render_sidebar %}
    <style type="text/css">
    div.document, div.footer { margin-left:0; margin-right: 0; }
    </style>
  {%- endif %}
{% endmacro %}

{% block extrahead %}{{ sidebarcss() }}{% endblock %}

{% block sidebar1 %}{{ phoenixsidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}

{% block relbar1 %}{{ myrelbar() }}{% endblock %}
{% block relbar2 %}{% endblock %}



{%- macro myrelbar() %}
    <div class="related">
      <h3>{{ _('Navigation') }}</h3>
      <ul class="row1">
        <li><img src="_static/images/sphinxdocs/phoenix_small.png" alt=""/></li>
        <li><a href="https://wxPython.org/" style="color: rgb(238, 152, 22); hover: rgb(53, 95, 124);">Home</a> |&nbsp;</li>
        <li><a href="gallery.html" style="color: rgb(238, 152, 22); hover: rgb(53, 95, 124);;">Gallery</a> |&nbsp;</li>
        <li><a href="index.html" style="color: rgb(238, 152, 22); hover: rgb(53, 95, 124);">API Docs</a> &raquo; </li>

        {%- for parent in parents %}
          <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>
              {{ parent.title }}</a>{{ reldelim1 }}</li>
        {%- endfor %}
        <li class="reltitle"> {{ title }}</li>

        {%- for rellink in rellinks %}
        <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
          <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
             {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
          {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
        {%- endfor %}

        </ul>
    </div>
{%- endmacro %}




{% block document %}
  <div class="documentwrapper">
    <div class="body headerfix">
      <div class="headerimage">
      <img src="{{ pathto("_static/images/sphinxdocs/phoenix_top.png", 1) }}" alt="Phoenix Logo" />
      </div>

      {% block body %} {% endblock %}
      {%- if theme_disqus_comments|tobool %}
      <div id="disqus_thread"></div>
      <script type="text/javascript" src="http://disqus.com/forums/tg-site/embed.js"></script>
      <noscript><a href="http://tg-site.disqus.com/?url=ref">View the discussion thread.</a></noscript>
      {%- endif %}
    </div>
  </div>
{%- endblock %}


set script_files = script_files + ['_static/sidebar.js']
set script_files = script_files + ['_static/header.js']