{#
  NateMan – Nachschreibtermin-Manager
  templates/index/index.html.j2
  Copyright © 2020  Niklas Elsbrock

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.
-#}

{% extends 'base.html.j2' %}

{% block title %}Startseite{% endblock %}
{% block header %}Startseite{% endblock %}

{% block content %}
<p>
  Sie befinden sich auf der Startseite des Nachschreibtermin-Managers.<br>
  Von hier aus können Sie die Klausurpläne für die Stufen
  {% for stufe in Stufe.query.all() -%}
    {%- if not loop.first -%}{%- if loop.last %} und {% else -%}, {% endif -%}{%- endif -%}
    <a href="{{ url_for('klausuren.stufe', stufe_name=stufe.name) }}">{{ stufe.name }}</a>
  {%- endfor %}
  einsehen oder sich als Lehrer <a href="{{ url_for('auth.login') }}">anmelden</a>.
</p>
{% endblock %}
