initial working state

This commit is contained in:
Ville Rantanen
2018-12-02 23:11:32 +02:00
commit 083915e69a
23 changed files with 837 additions and 0 deletions

14
templates/vote.html Normal file
View File

@@ -0,0 +1,14 @@
{% extends "layout.html" %}
{% block body %}
<div id="vote_header">Voting ends at: {{ valid_for }}</div>
<form id="vote_form" action="{{ url_for('save_vote') }}" method=post >
<input type=hidden value="{{ key|safe }}" name=key />
<input type=hidden value="{{ token|safe }}" name=token />
{% include "questions.html" %}
<p>
<input type=submit name=submit /><br>
<span class = "warning">Votes can not be edited later!</span>
</p>
</form>
{% endblock %}