aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html.j2
blob: 9daee7540178d365a9910de61e8baf239b704cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% extends "base.html.j2" %} {% block content %}
<h2>Create new diddle</h2>
<form class="poll-form" action="/poll/create" method="post">
    {% include "poll_info_table.html.j2" %}

    <p>
        You can add time options as well as modify all settings after
        submitting.
    </p>
    <input class="blue" type="submit" value="Create" />
</form>

{% if created_polls | length != 0 %}
<br />
<h2>My diddles</h2>
<ul>
    {% for poll in created_polls %}
    <li><a href="/manage/{{ poll.manage_code }}">{{ poll.title }}</a></li>
    {% endfor %}
</ul>
{% endif %}

<br />
<br />
<h2>About diddle</h2>
<p>
    <i>diddle</i> is a minimalist, mobile friendly, fast and self-hosted scheduling tool, licensed under
    <a href="https://github.com/jantuomi/diddle/blob/main/LICENSE">Apache 2.0.</a><br />
    Find <i>diddle</i> on <a href="https://github.com/jantuomi/diddle">GitHub</a>.<br />
    This site uses the <a href="https://fonts.google.com/specimen/Inclusive+Sans">Inclusive Sans</a> typeface.
</p>
<p>
    © {{ now.year }} Jan Tuomi. All rights reserved.
    {% if has_policy %}
    <a href="/policy">Privacy and terms</a>.
    {% endif %}
    {% if app_version %}
    <br />Version: <span style="font-family: monospace">{{ app_version }}</span>.
    {% endif %}
</p>
{% endblock %}