init turbo
This commit is contained in:
@ -5,37 +5,38 @@
|
||||
<link rel="stylesheet" type="text/css" href={{ url_for("static", filename="style.css") }}>
|
||||
<meta http-equiv="refresh" content="510">
|
||||
<script async src="https://analytics.paulmartin.cloud/script.js" data-website-id="459fa66e-e255-4393-8e89-ead8b1572d0d"></script>
|
||||
{{ turbo() }}
|
||||
{% block head %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<ul>
|
||||
{% if theorie=="hidden" and praxis=="hidden" %}
|
||||
<li class="top"><a class="top" href={{ url_for("welcome", sel="theorie") }}>Theorie</a></li>
|
||||
<li class="top"><a class="top" href={{ url_for("welcome", sel="praxis") }}>Praxis</a></li>
|
||||
{% elif theorie == "hidden" %}
|
||||
<li class="top"><a class="top" href={{ url_for("welcome", sel="theorie") }}>Theorie</a></li>
|
||||
<li class="top selected"><a class="top selected" href={{ url_for("welcome", sel="praxis") }}>Praxis</a></li>
|
||||
{% else %}
|
||||
<li class="top selected"><a class="top selected" href={{ url_for("welcome", sel="theorie") }}>Theorie</a></li>
|
||||
<li class="top"><a class="top" href={{ url_for("welcome", sel="praxis") }}>Praxis</a></li>
|
||||
{% endif %}
|
||||
<li {{ theorie }}><a {% if s == "n" %} class="selected" {% endif %} href={{ url_for("displayNoten") }}>Noten</a></li>
|
||||
<li {{ theorie }}><a {% if s == "p" %} class="selected" {% endif %} href={{ url_for("displayRapla") }}>Stundenplan</a></li>
|
||||
<li {{ praxis }}><a {% if s == "t" %} class="selected" {% endif %} href="">To Dos</a></li>
|
||||
<li><a {% if s == "s" %} class="selected" {% endif %} href={{ url_for("redKurs") }}>Konfiguration</a></li>
|
||||
{% if request.endpoint %}
|
||||
{% if request.endpoint[:7] != "login" %}
|
||||
<li><a class="bottom" href={{ url_for("logout") }}>Log-Out</a></li>
|
||||
<ul id = "navbar-items">
|
||||
{% if theorie=="hidden" and praxis=="hidden" %}
|
||||
<li class="top"><a class="top" href={{ url_for("index", sel="theorie") }}>Theorie</a></li>
|
||||
<li class="top"><a class="top" href={{ url_for("index", sel="praxis") }}>Praxis</a></li>
|
||||
{% elif theorie == "hidden" %}
|
||||
<li class="top"><a class="top" href={{ url_for("index", sel="theorie") }}>Theorie</a></li>
|
||||
<li class="top selected"><a class="top selected" href={{ url_for("index", sel="praxis") }}>Praxis</a></li>
|
||||
{% else %}
|
||||
<li class="top selected"><a class="top selected" href={{ url_for("index", sel="theorie") }}>Theorie</a></li>
|
||||
<li class="top"><a class="top" href={{ url_for("index", sel="praxis") }}>Praxis</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
<li {{ theorie }}><a {% if s == "n" %} class="selected" {% endif %} href={{ url_for("displayNoten") }}>Noten</a></li>
|
||||
<li {{ theorie }}><a {% if s == "p" %} class="selected" {% endif %} href={{ url_for("displayRapla") }}>Stundenplan</a></li>
|
||||
<li {{ praxis }}><a {% if s == "t" %} class="selected" {% endif %} href="">To Dos</a></li>
|
||||
<li><a {% if s == "s" %} class="selected" {% endif %} href={{ url_for("redKurs") }}>Konfiguration</a></li>
|
||||
<li {% block logout %}{% endblock %}><a class="bottom" href={{ url_for("logout") }}>Log-Out</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="cs1">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<turbo-frame>
|
||||
<div class="cs1" id = 'page'>
|
||||
<div id="content">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</turbo-frame>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user