mirror of
https://gitlab.com/openlp/documentation.git
synced 2024-08-25 08:13:41 +00:00
69 lines
2.0 KiB
HTML
69 lines
2.0 KiB
HTML
{#
|
|
openlp_qthelp/layout.html
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
Sphinx layout template for the openlp_qthelp theme.
|
|
|
|
:copyright: Copyright 2004-2010 Raoul Snyman.
|
|
:license: GPL
|
|
#}
|
|
{% extends "basic/layout.html" %}
|
|
{% set script_files = script_files + ['_static/theme_extras.js'] %}
|
|
{% set css_files = css_files + ['_static/print.css'] %}
|
|
|
|
{# do not display relbars #}
|
|
{% block relbar1 %}{% endblock %}
|
|
{% block relbar2 %}{% endblock %}
|
|
|
|
{% macro nav() %}
|
|
<p>
|
|
{%- block openlp_qthelprel1 %}
|
|
{%- endblock %}
|
|
{%- if prev %}
|
|
«  <a href="{{ prev.link|e }}">{{ prev.title }}</a>
|
|
  ::  
|
|
{%- endif %}
|
|
<a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a>
|
|
{%- if next %}
|
|
  ::  
|
|
<a href="{{ next.link|e }}">{{ next.title }}</a>  »
|
|
{%- endif %}
|
|
{%- block openlp_qthelprel2 %}
|
|
{%- endblock %}
|
|
</p>
|
|
{% endmacro %}
|
|
|
|
{% block content %}
|
|
<!-- div class="header">
|
|
{%- block openlp_qthelpheader %}
|
|
{%- if theme_full_logo != "false" %}
|
|
<a href="{{ pathto('index') }}">
|
|
<img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
|
|
</a>
|
|
{%- else %}
|
|
{%- if logo -%}
|
|
<img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
|
|
{%- endif -%}
|
|
<h1 class="heading"><a href="{{ pathto('index') }}">
|
|
<span>{{ shorttitle|e }}</span></a></h1>
|
|
<h2 class="heading"><span>{{ title|striptags|e }}</span></h2>
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
</div -->
|
|
<div class="topnav">
|
|
{{ nav() }}
|
|
</div>
|
|
<div class="content">
|
|
{#{%- if display_toc %}
|
|
<div id="toc">
|
|
<h3>Table Of Contents</h3>
|
|
{{ toc }}
|
|
</div>
|
|
{%- endif %}#}
|
|
{% block body %}{% endblock %}
|
|
</div>
|
|
<div class="bottomnav">
|
|
{{ nav() }}
|
|
</div>
|
|
{% endblock %}
|