summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorLilian Teronen <lteronen@local>2023-11-27 01:37:03 +0200
committerLilian Teronen <lteronen@local>2023-11-27 01:37:03 +0200
commit03b031ea793e91ce2f87cf28c73cefc8ce69a7b5 (patch)
tree882919559651e1b18904404ccc7c5106d167f1fd /templates/base.html
parentd2de3ae10b6f5314bd4b8243218212d2004f35b0 (diff)
More rework on routes. Best and worst matches. More visuals.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 839cc88..f38eb12 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,6 +1,14 @@
{% if nick %}
<div class="kysNick">{{ nick }}</div>
+{% else %}
+<form action="/set/nick" method="POST">
+Anna itsellesi nimimerkki ensin:
+<input type="text" name="nick">
+<input type="text" name="caller" value="{{ caller }}" hidden="true">
+<input type="submit" value="Lähetä">
+</form>
{% endif %}
+
{% if alert %}
<div class="kysAlert">{{ alert }}</div>
<script src="alert-timeout.js"></script>