Initial commit

This commit is contained in:
2020-07-23 11:45:59 +02:00
commit d303232201
22 changed files with 1649 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{{#* inline "page"}}
<h1>Login</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)~}}
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" type="text/css" href="/static/style.css" />
<style>
</style>
<meta charset="utf-8">
<title>Vertretungsplan Uhlandshöhe</title>
</head>
<body>
{{~> page}}
<h3> End</h3>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
{{#* inline "page"}}
<h1>Stundenplan</h1>
<ul>
{{#each klassen}}
<li>{{this.id}}. {{this.stufe}}{{this.gruppe}}</li>
{{/each}}
</ul>
{{/inline}}
{{! remove whitespaces with ~ }}
{{~> (parent)~}}