diff options
author | Lilian Teronen <lteronen@local> | 2023-11-27 01:37:03 +0200 |
---|---|---|
committer | Lilian Teronen <lteronen@local> | 2023-11-27 01:37:03 +0200 |
commit | 03b031ea793e91ce2f87cf28c73cefc8ce69a7b5 (patch) | |
tree | 882919559651e1b18904404ccc7c5106d167f1fd /templates/base.html | |
parent | d2de3ae10b6f5314bd4b8243218212d2004f35b0 (diff) |
More rework on routes. Best and worst matches. More visuals.
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 8 |
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> |