reminder/templates/index.html

33 lines
939 B
HTML

{% 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 %}