diff --git a/nateman/static/style.css b/nateman/static/style.css index dcbf446..399e981 100644 --- a/nateman/static/style.css +++ b/nateman/static/style.css @@ -337,15 +337,15 @@ table tr.clickable { table tr.clickable:hover, table tr.clickable:focus { - background-color: var(--bg-tertiary); + background-color: var(--bg-tertiary) !important; outline: none; } -table tbody tr:nth-child(odd) { +table tbody tr:nth-child(odd), table.nopattern tbody tr { background-color: var(--bg-primary); } -table tbody tr:nth-child(even) { +table:not(.nopattern) tbody tr:nth-child(even), table tbody tr.explicit-pattern { background-color: var(--bg-secondary); } diff --git a/nateman/templates/schueler/versaeumnisse.html.j2 b/nateman/templates/schueler/versaeumnisse.html.j2 index 8e8f489..fb9a616 100644 --- a/nateman/templates/schueler/versaeumnisse.html.j2 +++ b/nateman/templates/schueler/versaeumnisse.html.j2 @@ -45,7 +45,7 @@ {% if klausur_list|length == 0 %}

keine

{% else %} - +
@@ -68,8 +68,9 @@ {% for klausur in klausur_list %} {% set kt_list = Klausurteilnahme.query .filter_by(klausur=klausur, versaeumt=true, nachgeschrieben=nachgeschrieben).all() %} + {% set klausur_index = loop.index %} {% for kt in kt_list %} - + {% if loop.first %}
Klausur