mirror of
https://github.com/nelsbrock/NateMan.git
synced 2026-08-14 21:36:49 +02:00
Spalten der Versäumnistabelle kategorisiert
This commit is contained in:
@@ -351,14 +351,26 @@ table tbody tr:nth-child(even) {
|
|||||||
|
|
||||||
table th,
|
table th,
|
||||||
table td {
|
table td {
|
||||||
border-top: 1px solid var(--fg-main);
|
|
||||||
border-right: 1px dotted var(--fg-main);
|
|
||||||
border-bottom: 1px solid var(--fg-main);
|
|
||||||
border-left: 1px dotted var(--fg-main);
|
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th {
|
table th {
|
||||||
|
border: 1px dotted var(--fg-main);
|
||||||
|
}
|
||||||
|
|
||||||
|
table td {
|
||||||
|
border-top: 1px solid var(--fg-main);
|
||||||
|
border-right: 1px dotted var(--fg-main);
|
||||||
|
border-bottom: 1px solid var(--fg-main);
|
||||||
|
border-left: 1px dotted var(--fg-main);
|
||||||
|
}
|
||||||
|
|
||||||
|
table td.first-in-category,
|
||||||
|
table th.first-in-category {
|
||||||
|
border-left: 1px solid var(--fg-main);
|
||||||
|
}
|
||||||
|
|
||||||
|
table thead {
|
||||||
background-color: var(--bg-tertiary);
|
background-color: var(--bg-tertiary);
|
||||||
border-bottom: 2px solid var(--fg-main);
|
border-bottom: 2px solid var(--fg-main);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,23 +47,27 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Schüler/Schülerin</th>
|
<th rowspan="2" class="first-in-category">Schüler/Schülerin</th>
|
||||||
<th>Klausurdatum</th>
|
<th colspan="5" class="first-in-category">Klausur</th>
|
||||||
|
<th colspan="2" class="first-in-category">Status</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="first-in-category">Datum</th>
|
||||||
<th>Kurs</th>
|
<th>Kurs</th>
|
||||||
<th>Lehrkraft</th>
|
<th>Lehrkraft</th>
|
||||||
<th>Länge</th>
|
<th>Länge</th>
|
||||||
<th>Bemerkung</th>
|
<th>Bemerkung</th>
|
||||||
<th>attestiert</th>
|
<th class="first-in-category">attestiert</th>
|
||||||
<th>nachgeschrieben</th>
|
<th>nachgeschrieben</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for kt in versaeumt_list %}
|
{% for kt in versaeumt_list %}
|
||||||
<tr class="clickable" tabindex="0" data-href="{{ url_for('klausuren.edit', klausur_id=kt.klausur.id) }}">
|
<tr class="clickable" tabindex="0" data-href="{{ url_for('klausuren.edit', klausur_id=kt.klausur.id) }}">
|
||||||
<td>{{ kt.schueler.nachname }}, {{ kt.schueler.vorname }}
|
<td class="first-in-category">{{ kt.schueler.nachname }}, {{ kt.schueler.vorname }}
|
||||||
<span class="detail">({{ kt.schueler.id }}{% if kt.schueler.koop %}, Koop{% endif %})</span>
|
<span class="detail">({{ kt.schueler.id }}{% if kt.schueler.koop %}, Koop{% endif %})</span>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ macros.date(kt.klausur.date) }}</td>
|
<td class="first-in-category">{{ macros.date(kt.klausur.date) }}</td>
|
||||||
<td>{{ kt.klausur.kursname }}</td>
|
<td>{{ kt.klausur.kursname }}</td>
|
||||||
<td>{{ kt.klausur.lehrer.kuerzel }}</td>
|
<td>{{ kt.klausur.lehrer.kuerzel }}</td>
|
||||||
<td>{{ kt.klausur.laenge }}</td>
|
<td>{{ kt.klausur.laenge }}</td>
|
||||||
@@ -74,7 +78,7 @@
|
|||||||
<td class="detail">keine</td>
|
<td class="detail">keine</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<td><input type="checkbox" name="a_{{ kt.klausur.id }}:{{ kt.schueler.id }}"
|
<td class="first-in-category"><input type="checkbox" name="a_{{ kt.klausur.id }}:{{ kt.schueler.id }}"
|
||||||
onclick="event.stopPropagation()" {% if kt.attestiert %}checked{% endif %}></td>
|
onclick="event.stopPropagation()" {% if kt.attestiert %}checked{% endif %}></td>
|
||||||
<td><input type="checkbox" name="n_{{ kt.klausur.id }}:{{ kt.schueler.id }}"
|
<td><input type="checkbox" name="n_{{ kt.klausur.id }}:{{ kt.schueler.id }}"
|
||||||
onclick="event.stopPropagation()" {% if kt.nachgeschrieben %}checked{% endif %}></td>
|
onclick="event.stopPropagation()" {% if kt.nachgeschrieben %}checked{% endif %}></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user