c809179141
bug 995283 Changes after initial comments Removed spaces Updates after comments Remove white spaces Fix text and remove empty files Remove config.py Updated to be similar to the keystone page Updated afetr comments Change-Id: If9240114ae31d7120c708cdcf883e8fe4c7d2bb2
84 lines
3.3 KiB
HTML
84 lines
3.3 KiB
HTML
{% extends "sphinxdoc/layout.html" %}
|
|
{% set css_files = css_files + ['_static/tweaks.css'] %}
|
|
{% set script_files = script_files + ['_static/jquery.tweet.js'] %}
|
|
{% block extrahead %}
|
|
<script type='text/javascript'>
|
|
$(document).ready(function(){
|
|
$("#twitter_feed").tweet({
|
|
username: "openstack",
|
|
query: "from:openstack",
|
|
avatar_size: 32,
|
|
count: 10,
|
|
loading_text: "loading tweets..."
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
|
|
{%- 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 %}
|
|
{%- if pagename == "index" %}
|
|
<h3>{{ _('Twitter Feed') }}</h3>
|
|
<div id="twitter_feed" class='twitter_feed'></div>
|
|
{%- endif %}
|
|
{%- endblock %}
|
|
</div>
|
|
</div>
|
|
{%- endif %}{% endif %}
|
|
{%- endmacro %}
|