{% extends "!layout.html" %}
{% set title = 'DIPY' %}

{% block rootrellink %}
  <li><a href="{{pathto('index')}}">Home</a> |&nbsp;</li>
  <li><a href="{{pathto('stateoftheart')}}">Overview</a> |&nbsp;</li>
  <li><a href="{{pathto('examples_index')}}">Gallery</a> |&nbsp;</li>
  <li><a href="{{pathto('installation')}}">Download</a> |&nbsp;</li>
  <li><a href="{{pathto('subscribe')}}">Subscribe</a> |&nbsp;</li>
  <li><a href="{{pathto('developers')}}">Developers</a> |&nbsp;</li>
  <li><a href="{{pathto('cite')}}">Cite</a> &nbsp;</li>
{% endblock %}


{% block extrahead %}
  <meta name="keywords" content="DIPY, dMRI, DTI, DSI, diffusion MRI, Tensor,
  neuroimaging, python, neuroscience, Eleftherios, Garyfallidis, tractography,
  streamlines, fiber tracking">
{% endblock %}

{% block header %}
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
 <a href="{{pathto('index') }}">
  <img src="{{ pathto("_static/dipy-banner.png", 1) }}" alt="DIPY 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>
  </ul>

<h4> NIPY Community </h4>
  <ul class="simple">
    <li><a class="reference external"
	href="http://nipy.org/">Community Home</a></li>
    <li><a class="reference external"
	href="http://nipy.org/">NIPY Projects</a></li>
    <li><a class="reference external"
	href="https://mail.python.org/mailman/listinfo/neuroimaging">Mailing List</a></li>
    <li><a class="reference external"
	href="http://nipy.org/nipy/license.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:mail.python.org/pipermail/neuroimaging/ "+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).
   #}
<script>
     ((window.gitter = {}).chat = {}).options = {
       room: 'dipy/dipy'
     };
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

{%- endblock %}
