summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/.index.html.swpbin0 -> 12288 bytes
-rw-r--r--templates/index.html20
2 files changed, 20 insertions, 0 deletions
diff --git a/templates/.index.html.swp b/templates/.index.html.swp
new file mode 100644
index 0000000..b9af402
--- /dev/null
+++ b/templates/.index.html.swp
Binary files differ
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..2122678
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html lang="de">
+<meta charset="utf-8">
+<head>
+ <title>Lehrerspruch-Wahlplattform</title>
+</head>
+<body>
+ <h1>Lehrersprüche</h1>
+ <ul>
+ {% for joke in jokes %}
+ <li>{{ joke.text }}</li>
+ {% endfor %}
+ </ul>
+ <form action="submit" method="post">
+ Neuen Spruch hinzufügen
+ <input type="text" name="text">
+ <input type="submit" value="hinzufügen">
+ </form>
+</body>
+</html>