3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/doc/themes/triqs/layout.html
Michel Ferrero 6fd3fb091d Minor modifications in theme triqs
modified:   doc/themes/triqs/layout.html
2013-08-22 16:20:24 +02:00

62 lines
2.1 KiB
HTML

{#
layout.html
~~~~~~~~~~~
TRIQS layout template heavily based on the sphinxdoc theme.
:copyright: Copyright 2013 by the TRIQS team.
:copyright: Copyright 2007-2013 by the Sphinx team.
:license: BSD, see LICENSE for details.
#}
{%- extends "basic/layout.html" %}
{# put the sidebar before the body #}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}
{% block extrahead %}
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700' rel='stylesheet' type='text/css'>
<script src="{{ pathto('_static/cufon-yui.js',1) }}" type="text/javascript"></script>
<script src="{{ pathto('_static/spaceman.cufonfonts.js',1) }}" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('.triqs', { fontFamily: 'spaceman', hover: true });
</script>
{{ super() }}
{%- if not embedded %}
<style type="text/css">
table.right { float: right; margin-left: 20px; }
table.right td { border: 1px solid #ccc; }
{% if pagename == 'index' %}
.related { display: none; }
{% endif %}
</style>
{%- endif %}
{% endblock %}
{% block rootrellink %}
{% if hasdoc('index') %}
<li><a href="{{ pathto('index') }}">Home</a>&nbsp;|</li>
<li><a href="{{ pathto('contents') }}">Documentation</a> &raquo;</li>
{% else %}
<li><a href="{{ pathto('contents') }}">Documentation</a> &raquo;</li>
{% endif %}
{% endblock %}
{% block header %}
<div class="pageheader">
<ul>
<li><a href="{{ pathto('install') }}">Install</a></li>
<li><a href="{{ pathto('bugs') }}">Report Bugs</a></li>
<li><a href="{{ pathto('authors') }}">Authors and Quote</a></li>
</ul>
<div>
{% if hasdoc('index') %}
<h1 style="padding:0; margin: 10px 0 0 0;"><a class="triqs" href="{{ pathto('index') }}">TRIQS</a></h1>
{% else %}
<h1 style="padding:0; margin: 10px 0 0 0;"><a class="triqs" href="{{ pathto('contents') }}">TRIQS</a></h1>
{% endif %}
<span style="font-size: 14px; margin: 0px; padding: 0px;">a Toolbox for Research on Interacting Quantum Systems</span>
</div>
</div>
{% endblock %}