init turbo
This commit is contained in:
@ -4,27 +4,11 @@
|
||||
<meta http-equiv="Refresh" content="600">
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% for i in range (semester|length) %}
|
||||
{% if semester[i][1]==sel %}
|
||||
<h1>Deine Noten im {{ semester[i][0] }}</h1>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<br>
|
||||
<br>
|
||||
{% for i in noten %}
|
||||
{% if i[1]|length == 1 %}
|
||||
{% if i[1][0][0].isnumeric() or i[1][0][-1].isalpha()%}
|
||||
<h2>{{ i[0][0] }}: {{ i[1][0] }} (Credits: {{ i[2][0] }})</h2>
|
||||
{% else %}
|
||||
<h2>{{ i[0][0] }}: {{ i[1][0][-3:] }} (Credits: {{ i[2][0] }})</h2>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<h2>{{ i[0][0] }} (Credits: {{ i[2][0] }}):</h2>
|
||||
{% for e in i[1] %}
|
||||
<h2>      {{ e }}</h2>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<turbo-frame>
|
||||
<div id="noten">
|
||||
{% include "noten-list.html" %}
|
||||
</div>
|
||||
</turbo-frame>
|
||||
<br>
|
||||
<br>
|
||||
<form id= "dropdown" method="post" action={{ url_for ("setSemester", next=url_for("displayNoten")) }}>
|
||||
|
||||
Reference in New Issue
Block a user