first version of reminder web application

This commit is contained in:
Finn Christiansen 2018-12-29 18:31:10 +01:00
parent e43cba4769
commit 0c4fed2a2b
7 changed files with 316 additions and 1 deletions

33
templates/index.html Normal file
View file

@ -0,0 +1,33 @@
{% extends 'base.html' %}
{% block body %}
<h1>Add reminders to ICS files</h1>
<form method="POST" action="/" enctype=multipart/form-data>
<div class="form">
<ol>
<li>Select ICS file</li>
<li>Set reminder time</li>
<li>Submit and download your ICS file with reminders added</li>
</ol>
<div>
<label class="file">
{{ form.icsfile }}
<span id="filename" class="file-custom" data-content="Choose file..."></span>
</label>
</div>
<div class="form-group">
{{ form.hours.label }}
{{ form.hours() }}
</div>
<div class="form-group">
{{ form.minutes.label }}
{{ form.minutes() }}
</div>
<div>
{{ form.submit() }}
</div>
{% if error %}
<div class="error">{{ error }}</div>
{% endif %}
</div>
</form>
{% endblock %}