mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-31 13:16:03 +01:00
Drawing file upload now using identified_login (oops)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
<h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3>
|
||||
<table style="font-size: 85%" width=95%>
|
||||
<tr><th>File</th><th>Size</th><th>Paths</th><th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>
|
||||
<tr><th>Drawing (Tunnel or Therion) File</th><th>Size</th><th>Paths</th><th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>
|
||||
|
||||
{% for dwgfile in dwgfiles %}
|
||||
<tr>
|
||||
|
||||
@@ -10,13 +10,22 @@
|
||||
<form method ='post' enctype ="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<br /><br /> <br /><br />
|
||||
<label for="who_are_you">Who are you, uploading these files?</label>
|
||||
<br /><br />
|
||||
<input {% if not user.username %} disabled{% endif %}
|
||||
label = "Who are you" name = "who_are_you" size ="70"
|
||||
title="Who are you"
|
||||
placeholder="editor's name for version control e.g. 'Animal <mta@gasthof.expo>'" value="{{who_are_you}}" required/>
|
||||
<br /><br /> <br>
|
||||
<div style= "text-align: left;">
|
||||
Identified login
|
||||
<input type="checkbox" name="identified_login" onclick="return false" id="id_identified_login"
|
||||
{% if identified_login %} checked{% endif %} ">
|
||||
<br /><br />
|
||||
|
||||
<label for="who_are_you">Who are you, uploading these files?</label>
|
||||
<br />
|
||||
<input
|
||||
{% if not user.username %} disabled{% endif %}
|
||||
{% if identified_login %} readonly{% endif %}
|
||||
label = "Who are you" name = "who_are_you" size ="70"
|
||||
title="Who are you"
|
||||
placeholder="editor's name for version control e.g. 'Animal <mta@gasthof.expo>'" value="{{who_are_you}}" required/>
|
||||
<br /><br /> <br />
|
||||
</div>
|
||||
<input class="fancybutton" type = "file" multiple="multiple"
|
||||
name = "uploadfiles" id="uploadfiles" />
|
||||
<br><br><br>
|
||||
@@ -26,7 +35,8 @@
|
||||
</form>
|
||||
</div>
|
||||
<div style = "max-width:70%; margin-left:20%; text-align: left" >
|
||||
<p>Only drawings and drawing config files can be uploaded.
|
||||
<p>Only drawings and drawing config files can be uploaded.<br />
|
||||
topo and other digital instrument survey files should be uploaded to a Wallet, e.g. <a href="/wallets/year/2025">2025</a>.
|
||||
</div>
|
||||
<div style = "max-width:70%; margin-left:20%; text-align: left" >
|
||||
{% if refused %}
|
||||
|
||||
Reference in New Issue
Block a user