summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarkku Okkonen <mokkonen@local>2023-11-10 15:06:45 +0200
committerMarkku Okkonen <mokkonen@local>2023-11-10 15:06:45 +0200
commit8128427a1d667f62ce4888fe2921ca12b6823deb (patch)
treed24c9f58e3980bc49ca45fece0cceffe9baa3b5d /templates
parentfcb6ffc64fa8cf3b57d5960fb75d10107b346e46 (diff)
Database basics and initial workings of nick registeration
Diffstat (limited to 'templates')
-rw-r--r--templates/analyse.html1
-rw-r--r--templates/answer.html1
-rw-r--r--templates/create.html1
-rw-r--r--templates/info.html1
-rw-r--r--templates/moderate.html1
-rw-r--r--templates/nick.html5
6 files changed, 8 insertions, 2 deletions
diff --git a/templates/analyse.html b/templates/analyse.html
index ad50883..3220412 100644
--- a/templates/analyse.html
+++ b/templates/analyse.html
@@ -1 +1,2 @@
+<div id="alertbox">{{ alert }}</div>
<h1>analyse</h1>
diff --git a/templates/answer.html b/templates/answer.html
index 70bdfb9..808dde8 100644
--- a/templates/answer.html
+++ b/templates/answer.html
@@ -1 +1,2 @@
+<div id="alertbox">{{ alert }}</div>
<h1>answer</h1>
diff --git a/templates/create.html b/templates/create.html
index 8335934..15af509 100644
--- a/templates/create.html
+++ b/templates/create.html
@@ -1 +1,2 @@
+<div id="alertbox">{{ alert }}</div>
<h1>create</h1>
diff --git a/templates/info.html b/templates/info.html
index 73fbfe0..3f984a6 100644
--- a/templates/info.html
+++ b/templates/info.html
@@ -1 +1,2 @@
+<div id="alertbox">{{ alert }}</div>
<h1>info</h1>
diff --git a/templates/moderate.html b/templates/moderate.html
index 2a491af..116f2ff 100644
--- a/templates/moderate.html
+++ b/templates/moderate.html
@@ -1 +1,2 @@
+<div id="alertbox">{{ alert }}</div>
<h1>moderate</h1>
diff --git a/templates/nick.html b/templates/nick.html
index 72c641d..f3e1696 100644
--- a/templates/nick.html
+++ b/templates/nick.html
@@ -1,5 +1,6 @@
-<form action="/nick" method="POST">
+<div id="alertbox">{{ alert }}</div>
+<form action="/new_nick" method="POST">
Anna itsellesi nimimerkki ensin:
-<textarea name="nick" rows="1" cols="40"></textarea>
+<input type="text" name="nick" rows="1" cols="40"></textarea>
<input type="submit" value="Lähetä">
</form>