2020-07-23 11:45:59 +02:00
|
|
|
{{#* inline "page"}}
|
2020-08-07 20:19:40 +02:00
|
|
|
<h1>Klassen</h1>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Klasse</th>
|
|
|
|
<th>Titel</th>
|
|
|
|
<th>Priorität</th>
|
2020-08-12 21:26:59 +02:00
|
|
|
<th>Operation</th>
|
2020-08-07 20:19:40 +02:00
|
|
|
</tr>
|
|
|
|
{{#each klassen}}
|
|
|
|
<tr>
|
|
|
|
<td>{{ this.stufe }}{{this.gruppe}}</td>
|
|
|
|
<td>{{this.titel}}</td>
|
|
|
|
<td>{{this.ordnung}}</td>
|
2020-08-12 21:26:59 +02:00
|
|
|
<td><a href="/admin/delete/klasse/{{this.klassen_id}}">löschen</a></td>
|
2020-08-07 20:19:40 +02:00
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
<h1>Klasse hinzu fügen</h1>
|
|
|
|
<form action="/admin/add/klasse" method="post" accept-charset="utf-8">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Stufe:</th>
|
|
|
|
<td><input type="number" name="stufe"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Teil:</th>
|
|
|
|
<td><input type="text" name="gruppe"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Titel:</th>
|
|
|
|
<td><input type="text" name="titel"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Ordnung:</th>
|
|
|
|
<td><input type="number" name="ordnung"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<td><input type="submit" value="Klasse Erstellen"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
{{/inline}}
|
|
|
|
{{! remove whitespaces with ~ }}
|
|
|
|
{{~> (parent)~}}
|