Form creates wallet folder and contents.json

This commit is contained in:
Philip Sargent
2022-03-15 17:04:43 +00:00
parent fac748d2e2
commit 3390f51049
4 changed files with 90 additions and 19 deletions

View File

@@ -32,16 +32,29 @@
<p>
<b>File(s) saved as <br>
{% for f in actual_saved %}
<em>{{f}}</em> <br>
<em>{{f}}</em> <br></b>
{% endfor %}
<br><br>Upload more?</b>
</p>
<br>
{% endif %}
<p>
{% for f in files %}
<a href="/expofiles/surveyscans/{{year}}/{{wallet|urlencode}}/{{f}}">{{ f}}</a><br />
{% empty %}
<p>&lt;No files here&gt;
{% endfor %}
</p>
</div> {% endblock %}
{% if create %}
This online wallet does not yet exist.
<br>It will be created and initialised automatically when you upload a file.
{% endif %}
<p><em>
<a href="/expofiles/surveyscans/{{year}}/{{wallet|urlencode}}/walletindex.html">Wallet status page</a>
<br />
<a href="/expofiles/surveyscans/{{year}}/walletindex.html">Wallet index for this year</a>
</em>
</div>
<hr />
{% endblock %}