{% extends 'classic/layout.html' %}
{%- set script_files = script_files + [pathto('_static/jquery.colorbox-min.js',1), pathto('_static/flourish.js', 1)] %}
{%- block extrahead %}
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin" />
{% endblock %}
{%- block relbar1 %}{% endblock %}
{%- block relbar2 %}{% endblock %}
{%- block header %}
<div class="schooltool">
  <div class="header">
    <h1 class="brand">
      <a href="http://www.schooltool.org/">
        <span class="school">school</span><span class="tool">tool</span>
        <img alt="Logo" src="{{ pathto('_static/logo-small.png', 1) }}" />
      </a>
    </h1>
    <ul class="navigation">
      <li>
        <a href="http://schooltool.org/">
          Home
        </a>
      </li>
      <li>
        <a href="features.html">
          Features
        </a>
      </li>
      <li>
        <a href="http://launchpad.net/schooltool-project/+announcements">
          News
        </a>
      </li>
      <li>
        <a href="screenshots.html">
          Screenshots
        </a>
      </li>
      <li>
        <a href="system-requirements.html">
          Download
        </a>
      </li>
      <li>
        <a href="index.html">
          Documentation
        </a>
      </li>
      <li>
        <a href="about.html">
          Contact
        </a>
      </li>
    </ul>
    <script type="text/javascript">
      $(document).ready(function() {
        $(window).scroll(function() {
          var scrollTop = $(window).scrollTop();
          if (scrollTop > 64) {
            $('div.related').css('position', 'fixed');
            $('div.related').css('top', '0');
          } else {
            $('div.related').css('position', 'absolute');
            $('div.related').css('top', '64px');
          }
        });
      });
    </script>
    {{ relbar() }}
    {%- include "searchbox.html" %}
  </div>
{% endblock %}
{%- block footer %}
  <div class="footer">
    {%- if show_copyright %}
    <p class="copyright">
      {%- if hasdoc('copyright') %}
        {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
      {%- else %}
        {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
      {%- endif %}
    </p>
    {%- endif %}
    <p>
    {%- if last_updated %}
      {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
    {%- endif %}
    {%- if show_sphinx %}
      {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
    {%- endif %}
    {%- if show_source and has_source and sourcename %}
    <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
             rel="nofollow">{{ _('Show Source') }}</a>
    {%- endif %}
    </p>
  </div>
</div>
{%- endblock %}
