<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>sciplite</title>
    {% if env.layout == 'screen' %}
        <link rel="stylesheet" type="text/css" href="/static/screen.css">
    {% endif %}
    {% if env.layout == 'mobile' %}
        <link rel="stylesheet" type="text/css" href="/static/mobile.css">
    {% endif %}
    <script type="text/javascript" src="/static/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="/static/sciplite.js"></script>
  </head>
  <body>
    {% if env.layout == "screen" %}
        <div class="head1">
          <div class="head1right"><img src="/static/phi.gif" alt="DPG Phi" border="0" width="42" height="40"></div>
          <div class="headleft"><img src="/static/vh1.gif" alt="Verhandlungen" border="0" width="448" height="62"></div>
        </div>
        <div class="head2">
          <div class="headleft"><img src="/static/vh2.gif" alt="Verhandlungen" border="0" width="448" height="14"></div>
          <div class="head2right"><img src="/static/dpg.gif" alt="DPG" border="0" width="470" height="23"></div>
        </div>
    {% endif %}
    <div class="content">
      {% if env.layout == 'screen' %}
        <h1>{{ env.cfg.scip.title }}</h1>
      {% endif %}
      <h2>
        {% for title, action in [(env.lang_str(env.cfg.notation.Parts), 'parts'),
                                 (env.lang_dict(en="Days", de="Tage"), 'days'),
                                 (env.lang_dict(en="Selection", de="Auswahl"), 'select'),
                                 (env.lang_dict(en="Search", de="Suche"), 'search'),
                                 (env.lang_dict(en="Updates", de="Aktualisierungen"), 'updates'),
                                 (env.lang_dict(en="Help", de="Hilfe"), 'help'),
                                 (env.lang_dict(en="Quit", de="Beenden"), 'quit')] %}
          {% if not loop.first %}|{% endif %}
          {% if env.form_action == action %} {{ title }} {% else %} <a href="{{ env.url_for(action) }}">{{ title }}</a> {% endif %}
        {% endfor %}
      </h2>
      {% block content %}
      {% endblock %}
    </div>
    <div class="foot">
      {% if 'screen' in env.cfg.general.layouts %}
        {% if env.layout == 'screen' %}
          <a href="?layout=mobile">{{ env.lang_dict(en="Mobile Layout", de="Mobil-Ansicht") }}</a>
        {% endif %}
      {% endif %}
      {% if 'mobile' in env.cfg.general.layouts %}
        {% if env.layout == 'mobile' %}
          <a href="?layout=screen">{{ env.lang_dict(en="Screen Layout", de="Bildschirmansicht") }}</a>
        {% endif %}
      {% endif %}
      |
      {% if 'de' in env.cfg.general.languages %}
        {% if env.lang != 'de' %}
          <a href="?lang=de">Deutsch Version</a>
        {% endif %}
      {% endif %}
      {% if 'en' in env.cfg.general.languages %}
        {% if env.lang != 'en' %}
          <a href="?lang=en">English Version</a>
        {% endif %}
      {% endif %}
    </div>
  </body>
</html>
