32 lines
1.2 KiB
HTML
Executable file
32 lines
1.2 KiB
HTML
Executable file
{% extends "bases/bootstrap-with-nav.html" %}
|
|
{% load staticfiles %}
|
|
{% load bootstrap3 %}
|
|
{% comment %} is it safe really? {% endcomment %}
|
|
{% block sk-file-name %}{{ event.title|safe }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
<h2>Trustee Event Decryption for Event '{{ event.title }}'</h2>
|
|
<hr/>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><strong>Submit your Secret Key as '{{ user_email }}'</strong></div>
|
|
<div class="panel panel-body">
|
|
<form id="sk-form" method="POST">
|
|
{% csrf_token %}
|
|
<input id="secret-key" name="secret-key" class="textinput textInput form-control" type="text"/>
|
|
<div class="alert alert-info" role="alert" style="margin-top: 0.75em;">
|
|
Your secret key will be used to decrypt the event and get a vote tally for every poll.
|
|
</div>
|
|
<label for="files_sk_upload" class="btn btn-primary">
|
|
<span class="glyphicon glyphicon-cloud-upload"></span>
|
|
Upload Key
|
|
</label>
|
|
<input type="file" id="files_sk_upload" name="file" class="btn-info">
|
|
<input type="submit" value="Submit" class="btn btn-success"/>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|