diff options
| -rw-r--r-- | app.py | 3 | ||||
| -rw-r--r-- | templates/index.html.j2 | 13 |
2 files changed, 14 insertions, 2 deletions
@@ -46,7 +46,8 @@ def index(): created_polls = db.get_polls_by_codes(created_poll_codes) if len(created_poll_codes) > 0 else [] return render_template('index.html.j2', - created_polls=created_polls) + created_polls=created_polls, + now=datetime.datetime.now()) @app.post("/poll/create") def create(): diff --git a/templates/index.html.j2 b/templates/index.html.j2 index db458da..546a684 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -5,7 +5,7 @@ <form class="poll-form" action="/poll/create" method="post"> {% include "poll_info_table.html.j2" %} - <p>You can add options after submitting.</p> + <p>You can add time options as well as modify all settings after submitting.</p> <input class="green" type="submit" value="Create"> </form> @@ -18,4 +18,15 @@ </ul> {% endif %} +<br> +<br> +<div> + <h3>About diddle</h3> + <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. + </p> +</div> {% endblock %} |
