some cleanup and refactoring
This commit is contained in:
parent
0c4fed2a2b
commit
fcd783ef26
7 changed files with 32 additions and 9 deletions
|
@ -1,33 +0,0 @@
|
|||
{% 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue