From 5b69dbd41103de917837b06a60944319f4b66cb9 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 19 Apr 2026 09:56:07 +0300 Subject: Add policy page, format code --- templates/index.html.j2 | 41 +++++++----- templates/policy_sample.html.j2 | 137 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+), 16 deletions(-) create mode 100644 templates/policy_sample.html.j2 (limited to 'templates') diff --git a/templates/index.html.j2 b/templates/index.html.j2 index ea2e225..9daee75 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -1,32 +1,41 @@ -{% extends "base.html.j2" %} - -{% block content %} +{% extends "base.html.j2" %} {% block content %}

Create new diddle

- {% include "poll_info_table.html.j2" %} + {% include "poll_info_table.html.j2" %} -

You can add time options as well as modify all settings after submitting.

- +

+ You can add time options as well as modify all settings after + submitting. +

+
{% if created_polls | length != 0 %} -
+

My diddles

{% endif %} -
-
+
+

About diddle

-

diddle is a minimalist, mobile friendly, fast and self-hosted scheduling tool, - licensed under Apache 2.0. +

+ diddle is a minimalist, mobile friendly, fast and self-hosted scheduling tool, licensed under + Apache 2.0.
+ Find diddle on GitHub.
+ This site uses the Inclusive Sans typeface.

- Find diddle on GitHub. © {{ now.year }} Jan Tuomi. All rights reserved.
- This site uses the Inclusive Sans typeface. + © {{ now.year }} Jan Tuomi. All rights reserved. + {% if has_policy %} + Privacy and terms. + {% endif %} + {% if app_version %} +
Version: {{ app_version }}. + {% endif %}

{% endblock %} diff --git a/templates/policy_sample.html.j2 b/templates/policy_sample.html.j2 new file mode 100644 index 0000000..92b88a5 --- /dev/null +++ b/templates/policy_sample.html.j2 @@ -0,0 +1,137 @@ +{% extends "base.html.j2" %} + +{% block head_meta %} +Privacy and terms – {{ instance_domain }} 👉👈 + +{% endblock %} + +{% block content %} + +

This is a sample privacy policy and terms of use document. You must replace this with your own when deploying.

+ +

Last updated: 19 April 2026

+ +
+ +

Terms of use

+ +

Acceptance of terms

+

+ By using diddle on {{ instance_domain }}, you agree to these terms. If you do not agree, please do not use the service. +

+ +

Description of service

+

+ diddle is a self-hosted scheduling tool that allows users to create polls and vote on time options. The service is provided as-is and free-of-charge. +

+ +

User responsibilities

+

You agree not to:

+ + +

Disclaimer of warranties

+

+ The service is provided "as is" and "as available" without warranties of any + kind, whether express or implied. We do not guarantee that the service will + be uninterrupted, error-free, or that any data will be retained or preserved. +

+ +

Limitation of liability

+

+ To the fullest extent permitted by law, the operator of this diddle instance + shall not be liable for any indirect, incidental, or consequential damages + arising from your use of the service, including but not limited to loss of data. +

+ +

Changes to these terms

+

+ We may update these terms at any time. Continued use of the service after + changes constitutes acceptance of the updated terms. +

+ +
+ +

Privacy policy

+ +

What data do we collect?

+

When you use {{ instance_domain }}, we collect the data you provide directly:

+ +

+ Additionally, connection information such as your IP address may be stored in server logs for administrative purposes. +

+

+ We do not collect any other kinds of data. +

+ +

How do we use your data?

+

+ Your data is used solely to provide the scheduling functionality of diddle. + Your email address maybe used to send you notifications about polls you manage. + We do not use your data for any other purpose. +

+ +

Cookies

+

+ Diddle uses only strictly necessary functional cookies to remember which + polls you have created or voted in, and your display mode preference. These + cookies do not track you across websites and are not used for analytics, + advertising, or any other purpose. +

+ +

Data storage and transfers

+

+ All data is stored within the European Union. + Your data is not transferred outside the EU and is not shared with any third parties. + Your data is stored encrypted at rest and in flight. +

+ +

Data retention

+

+ No specific data retention period is guaranteed. + No data durability or backup guarantees are provided. + Data may be lost due to technical failures. +

+ +

Data deletion

+

+ By using the Delete poll functionality, poll data and any related data is deleted from the database. +

+

+ By using the Delete voter functionality, voter name and selected time choices are deleted from the database. +

+ +

Your rights

+

+ Under the General Data Protection Regulation (GDPR), you have the right to: +

+ +

+ To exercise any of these rights, please contact us using the details below. + Data is removed from the database upon request. If we are unable to verify + your identity, we may not be able to act on your request. +

+ +
+ +

Contact

+

+ Email: {{ contact_email }} +

+
+{% endblock %} -- cgit v1.3