2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 00:57:15 +00:00

Fix wallets scan upload faults

This commit is contained in:
Philip Sargent
2022-08-14 22:52:14 +03:00
parent b093d00ff4
commit 284e044a03
5 changed files with 80 additions and 38 deletions

View File

@@ -10,6 +10,18 @@
<h2>Wallet {{wallet}}</h2>
{% endif %}
<form method ='post' style="text-align: center">
{% csrf_token %}
<button class="fancybutton" style="padding: 0.5em 25px; font-size: 80%;" type = "submit" value = "Go to" >
Go directly to this wallet: &rarr;
</button>
<input
label = "WalletGoto" name = "walletgoto" size="7"
title="Wallet name to go to directly"
placeholder="2022#11" />
</form>
<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>
&nbsp;...&nbsp;
@@ -18,8 +30,9 @@
<a href="/scanupload/{{year}}:{{next}}">{{year}}:{{next}}</a>
&nbsp;...&nbsp;
<a style="font-weight: normal;" href="/scanupload/{{nexty}}:01">{{nexty}}</a>
</p>
</p>
<div style = "max-width:35%; margin-left:20%; text-align: center; " >
<form method ='post' enctype ="multipart/form-data">
{% csrf_token %}
@@ -53,9 +66,10 @@
{% if create %}
This online wallet does not yet exist.
{% if user.username %}
<br>It will be created and initialised automatically when you upload a file.
<br>It will be created and initialised automatically when you upload a file, and then edit the date in the form below and save it.
{% else %}
<br>It will be created and initialised automatically when you upload a file, but you need to log on first.
<br>It will be created and initialised automatically when you upload a file, and then edit the date in the form below and save it.
<br>But you need to log in first <a href=/accounts/login/">Log In </a>
{% endif %}
{% endif %}