summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 5609fe17ec2d24321ae355b7572c3506da245bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% if nick %}
    <div class="kysNick">{{ nick }}</div>
    <script src="nick-lift.js"></script>
{% 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="text" name="csrf" value="{{ session.csrf }}" hidden="true">
<input type="submit" value="Lähetä">
</form>
{% endif %}

{% if alert %}
    <div class="kysAlert">{{ alert }}</div>
    <script src="alert-timeout.js"></script>
{% endif %}