diff options
Diffstat (limited to 'doc/_templates/layout.html')
-rw-r--r-- | doc/_templates/layout.html | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html new file mode 100644 index 0000000..fdeb147 --- /dev/null +++ b/doc/_templates/layout.html @@ -0,0 +1,85 @@ +{% extends "!layout.html" %} +{% set title = 'Neuroimaging in Python' %} + +{% block rootrellink %} + <li><a href="{{pathto('index')}}">Nitime Home</a> | </li> +{% endblock %} + + +{% block extrahead %} + <meta name="keywords" content="nipy, neuroimaging, python, neuroscience, time + series"> +{% endblock %} + +{% block header %} +<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px"> + <a href="{{pathto('index') }}"> + <img src="{{ pathto("_static/nitime-banner-bg.png", 1) }}" alt="NIPY logo" border="0" /> +</div> +{% endblock %} + +{# This block gets put at the top of the sidebar #} +{% block sidebarlogo %} + + +<h4> Site Navigation </h4> + <ul> + <li><a href="{{pathto('documentation')}}">Documentation</a></li> + <li><a href="{{pathto('devel/index')}}">Development</a></li> + <li><a href="{{pathto('news')}}">News</a></li> + </ul> + +<h4> NIPY Community </h4> + <ul class="simple"> + <li><a class="reference external" + href="http://nipy.sourceforge.net/">Community Home</a></li> + <li><a class="reference external" + href="http://nipy.sourceforge.net/software/projects/">NIPY Projects</a></li> + <li><a class="reference external" + href="http://mail.scipy.org/mailman/listinfo/nipy-devel">Mailing List</a></li> + <li><a class="reference external" + href="http://nipy.sourceforge.net/software/license/index.html">License</a></li> + </ul> + +{% endblock %} + +{# I had to copy the whole search block just to change the rendered text, + so it doesn't mention modules or classes #} +{%- block sidebarsearch %} +{%- if pagename != "search" %} + +<div id="searchbox-ml" style="display: none"> + <h3>Search mailing list archive</h3> + <script type="text/javascript"> + function mlsearch(curobj) + { + curobj.q.value="site:lists.neuroimaging.scipy.org/pipermail/nipy-devel/ "+curobj.userquery.value + } + </script> + <form action="http://www.google.com/search" method="get" onSubmit="mlsearch(this)"> + <input name="userquery" size="13" type="text" /> <input type="submit" value="Go" /> + <input name="q" type="hidden" /> + </form> +</div> + +<div id="searchbox-site" style="display: none"> + <h3>{{ _('Search this site') }}</h3> + <form class="search" action="{{ pathto('search') }}" method="get"> + <input type="text" name="q" size="13" /> + <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%"> + </p> +</div> +<script type="text/javascript">$('#searchbox-ml').show(0);</script> +<script type="text/javascript">$('#searchbox-site').show(0);</script> +{%- endif %} + +{# The sidebarsearch block is the last one available in the default sidebar() + macro, so the only way to add something to the bottom of the sidebar is to + put it here, at the end of the sidebarsearch block (before it closes). + #} + +{%- endblock %} |