summaryrefslogtreecommitdiffstats
path: root/templates/renameform.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-07-31 16:16:43 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-07-31 16:16:43 +0300
commit8d9b320d8949c448e38ab6b836b2851ca412cb5e (patch)
tree54c9f4386567ea95035a665640d0e7c4f6deda6b /templates/renameform.html
parent89c1c653402f0c1199476755d106437bdee19ca4 (diff)
downloadtroggle-8d9b320d8949c448e38ab6b836b2851ca412cb5e.tar.gz
troggle-8d9b320d8949c448e38ab6b836b2851ca412cb5e.tar.bz2
troggle-8d9b320d8949c448e38ab6b836b2851ca412cb5e.zip
filesize now shown
Diffstat (limited to 'templates/renameform.html')
-rw-r--r--templates/renameform.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/renameform.html b/templates/renameform.html
index a8aaf16..cda8bbf 100644
--- a/templates/renameform.html
+++ b/templates/renameform.html
@@ -5,9 +5,12 @@
{% block content %}
<h2>Rename "{{filename}}"</h2>
+<a href="/expofiles/{{filepath|urlencode}}">
<figure class=onleft>
<img src="/expofiles/{{filepath|urlencode}}" width=150px>
- </figure>
+ <figcaption>filesize: {{filesize}} bytes
+ </figcaption>
+ </figure></a>
<div style = "max-width:95%; margin-left:8%; text-align: left; " >
<form method ='post' >
{% csrf_token %}
@@ -17,7 +20,7 @@
pattern="[A-Za-z][A-Za-z0-9_-\.]*"/>
<label
style="padding: 0.5em 25px; margin-left: 110px"
- for="renameto">the new name for this file<br></label>
+ for="renameto">type in the new name for this file<br></label>
<br><br><br>
<button class="fancybutton2" style="padding: 0.5em 25px; margin-left: 110px" type = "submit" value = "Upload" >
@@ -26,7 +29,7 @@
</form>
<br /><br /><br />
- Full urlencoded path for this file <a href="/expofiles/{{filepath|urlencode}}"><em>{{filepath|urlencode}}</em></a>
+ Full urlencoded path for this file in expofiles is <a href="/expofiles/{{filepath|urlencode}}"><em>{{filepath|urlencode}}</em></a>
</div>