summaryrefslogtreecommitdiffstats
path: root/templates/scanuploadform.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-23 03:07:21 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-23 03:07:21 +0100
commitdbd186e299fecd8f10f3dca0a88b78f842b0c59b (patch)
treecf90218918c0896ad770bcceb69f1e7df0d8c097 /templates/scanuploadform.html
parent1a4be0f02e8ca2536bb754c7285c005478ad047a (diff)
downloadtroggle-dbd186e299fecd8f10f3dca0a88b78f842b0c59b.tar.gz
troggle-dbd186e299fecd8f10f3dca0a88b78f842b0c59b.tar.bz2
troggle-dbd186e299fecd8f10f3dca0a88b78f842b0c59b.zip
make ?reload private and clean old error msgs
Diffstat (limited to 'templates/scanuploadform.html')
-rw-r--r--templates/scanuploadform.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/scanuploadform.html b/templates/scanuploadform.html
new file mode 100644
index 0000000..c08a165
--- /dev/null
+++ b/templates/scanuploadform.html
@@ -0,0 +1,42 @@
+{% extends "base.html" %}
+
+{% block title %}Simple Fileupload{% endblock %}
+
+{% block content %}
+
+<h2>Survey Scan upload into Wallet</h2>
+
+
+
+<div style="column-count: 2;">
+ <div style = "max-width:40%px; " >
+ {% if filesaved %}
+ <p style="margin-left:20%;">
+ <b>The file was saved as <em>'{{actual_saved}}'</em> <br><br>Upload another?</b>
+ </p>
+ <br>
+ {% endif %}
+
+
+ <form method ='post' enctype ="multipart/form-data">
+ {% csrf_token %}
+ <br>
+ <input type = "file" style = "margin-left:20%;"
+ placeholder = "Simplefile" name = "simplefile" id="files"><label for="files">Scan file(s)</label>
+ <br> <br>
+ <input type = "text" style = "margin-left:20%;"
+ placeholder = "Wallet id e.g. 2021#23" name = "title" value='2050#99'id="wallet"><label for="wallet"> Wallet id</label>
+
+ </div>
+ <div style = "max-width:30%;">
+ <center>
+ <button style = "color: #fff; border:1px; background-color:#999; margin-top:8%;
+ height:35px; width:80%; margin-left:19%;" type = "submit" value = "Upload" >
+ <strong>Upload</strong>
+ </button>
+ </center>
+ </div>
+ </form>
+ </div>
+</div>
+ {% endblock %}