aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html.j2
blob: ea2e225fd7d4ef5ca5322a149daa8c6419d75032 (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
{% 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>
</p>
<p>
  Find <i>diddle</i> on <a href="https://github.com/jantuomi/diddle">GitHub</a>. © {{ now.year }} Jan Tuomi. All rights reserved.<br>
  This site uses the <a href="https://fonts.google.com/specimen/Inclusive+Sans">Inclusive Sans</a> typeface.
</p>
{% endblock %}