mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
77 lines
2.5 KiB
HTML
77 lines
2.5 KiB
HTML
{% 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> | </li>
|
|
<li><a href="gallery.html" style="color: rgb(238, 152, 22); hover: rgb(53, 95, 124);;">Gallery</a> | </li>
|
|
<li><a href="index.html" style="color: rgb(238, 152, 22); hover: rgb(53, 95, 124);">API Docs</a> » </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']
|