deaff7274e
To make things more consistent across all openstack projects, the developer docs should be upgraded to the newer template used by keystone and keystoneclient (and other projects). I dropped in the necessary static files and themes, and updated the config file to make the changes at build time. Change-Id: I5a268cff3cd5af29ad712705d540b9d1d6667d56 Partial-Bug: #1331304
83 lines
3.7 KiB
HTML
83 lines
3.7 KiB
HTML
{% extends "basic/layout.html" %}
|
|
{% set css_files = css_files + ['_static/tweaks.css'] %}
|
|
{% set script_files = script_files + ['_static/jquery.tweet.js'] %}
|
|
|
|
{%- macro sidebar() %}
|
|
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
|
|
<div class="sphinxsidebar">
|
|
<div class="sphinxsidebarwrapper">
|
|
{%- block sidebarlogo %}
|
|
{%- if logo %}
|
|
<p class="logo"><a href="{{ pathto(master_doc) }}">
|
|
<img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
|
|
</a></p>
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
{%- block sidebartoc %}
|
|
{%- if display_toc %}
|
|
<h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
|
|
{{ toc }}
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
{%- block sidebarrel %}
|
|
{%- if prev %}
|
|
<h4>{{ _('Previous topic') }}</h4>
|
|
<p class="topless"><a href="{{ prev.link|e }}"
|
|
title="{{ _('previous chapter') }}">{{ prev.title }}</a></p>
|
|
{%- endif %}
|
|
{%- if next %}
|
|
<h4>{{ _('Next topic') }}</h4>
|
|
<p class="topless"><a href="{{ next.link|e }}"
|
|
title="{{ _('next chapter') }}">{{ next.title }}</a></p>
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
{%- block sidebarsourcelink %}
|
|
{%- if show_source and has_source and sourcename %}
|
|
<h3>{{ _('This Page') }}</h3>
|
|
<ul class="this-page-menu">
|
|
<li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
|
|
rel="nofollow">{{ _('Show Source') }}</a></li>
|
|
</ul>
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
{%- if customsidebar %}
|
|
{% include customsidebar %}
|
|
{%- endif %}
|
|
{%- block sidebarsearch %}
|
|
{%- if pagename != "search" %}
|
|
<div id="searchbox" style="display: none">
|
|
<h3>{{ _('Quick search') }}</h3>
|
|
<form class="search" action="{{ pathto('search') }}" method="get">
|
|
<input type="text" name="q" size="18" />
|
|
<input type="submit" value="{{ _('Go') }}" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
<p class="searchtip" style="font-size: 90%">
|
|
{{ _('Enter search terms or a module, class or function name.') }}
|
|
</p>
|
|
</div>
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
</div>
|
|
</div>
|
|
{%- endif %}{% endif %}
|
|
{%- endmacro %}
|
|
|
|
{% block relbar1 %}{% endblock relbar1 %}
|
|
|
|
{% block header %}
|
|
<div id="header">
|
|
<h1 id="logo"><a href="http://www.openstack.org/">OpenStack</a></h1>
|
|
<ul id="navigation">
|
|
<li><a href="http://www.openstack.org/" title="Go to the Home page" class="link">Home</a></li>
|
|
<li><a href="http://www.openstack.org/projects/" title="Go to the OpenStack Projects page">Projects</a></li>
|
|
<li><a href="http://www.openstack.org/user-stories/" title="Go to the User Stories page" class="link">User Stories</a></li>
|
|
<li><a href="http://www.openstack.org/community/" title="Go to the Community page" class="link">Community</a></li>
|
|
<li><a href="http://www.openstack.org/blog/" title="Go to the OpenStack Blog">Blog</a></li>
|
|
<li><a href="http://wiki.openstack.org/" title="Go to the OpenStack Wiki">Wiki</a></li>
|
|
<li><a href="http://docs.openstack.org/" title="Go to OpenStack Documentation" class="current">Documentation</a></li>
|
|
</ul>
|
|
</div>
|
|
{% endblock %} |