2021-04-23 03:07:21 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Simple Fileupload{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2021-05-01 18:35:08 +01:00
|
|
|
<h2>Upload scan into wallet {{wallet}}</h2>
|
2021-04-30 03:44:53 +01:00
|
|
|
<p style="font-family: monospace; font-weight: bold; font-size: 130%; text-align: center">
|
|
|
|
<a style="font-weight: normal;" href="/scanupload/{{prevy}}:01">{{prevy}}</a>
|
|
|
|
...
|
|
|
|
<a href="/scanupload/{{year}}:{{prev}}">{{year}}:{{prev}}</a>
|
|
|
|
← {{wallet}} →
|
|
|
|
<a href="/scanupload/{{year}}:{{next}}">{{year}}:{{next}}</a>
|
|
|
|
...
|
|
|
|
<a style="font-weight: normal;" href="/scanupload/{{nexty}}:01">{{nexty}}</a>
|
|
|
|
</p>
|
2021-04-23 03:07:21 +01:00
|
|
|
|
2021-05-01 18:35:08 +01:00
|
|
|
<div style = "max-width:35%; margin-left:20%; text-align: center; " >
|
2021-04-23 03:07:21 +01:00
|
|
|
<form method ='post' enctype ="multipart/form-data">
|
|
|
|
{% csrf_token %}
|
2021-05-01 18:35:08 +01:00
|
|
|
<br>
|
|
|
|
<input class="fancybutton" type = "file" multiple="multiple"
|
2021-05-04 20:56:44 +01:00
|
|
|
name = "uploadfiles" id="uploadfiles" />
|
2021-05-01 18:35:08 +01:00
|
|
|
<br><br><br>
|
|
|
|
<button class="fancybutton" style="padding: 0.5em 25px; margin-left: 155px" type = "submit" value = "Upload" >
|
|
|
|
Upload
|
2021-04-23 03:07:21 +01:00
|
|
|
</button>
|
|
|
|
</form>
|
2021-05-01 18:35:08 +01:00
|
|
|
</div>
|
|
|
|
<div style = "max-width:29%; margin-left:20%; text-align: left" >
|
2021-04-30 18:02:05 +01:00
|
|
|
{% if filesaved %}
|
2021-05-01 18:35:08 +01:00
|
|
|
<p>
|
|
|
|
<b>File(s) saved as <br>
|
2021-04-30 18:02:05 +01:00
|
|
|
{% for f in actual_saved %}
|
2021-05-01 18:35:08 +01:00
|
|
|
<em>{{f}}</em> <br>
|
2021-04-30 18:02:05 +01:00
|
|
|
{% endfor %}
|
|
|
|
<br><br>Upload more?</b>
|
|
|
|
</p>
|
|
|
|
<br>
|
|
|
|
{% endif %}
|
2021-04-30 03:44:53 +01:00
|
|
|
|
2021-05-01 18:35:08 +01:00
|
|
|
<p>
|
2021-04-30 03:44:53 +01:00
|
|
|
{% for f in files %}
|
|
|
|
<a href="/expofiles/surveyscans/{{year}}/{{wallet|urlencode}}/{{f}}">{{ f}}</a><br />
|
|
|
|
{% endfor %}
|
|
|
|
</p>
|
2021-05-01 18:35:08 +01:00
|
|
|
</div> {% endblock %}
|