2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 08:38:35 +00:00

rotatable images & text

This commit is contained in:
2023-09-23 00:48:35 +03:00
parent 017f916ef9
commit 9c05cb6af0
3 changed files with 39 additions and 14 deletions

View File

@@ -37,15 +37,20 @@
</button>
</form>
<br />
{% if rotatable %}
<form method ='post' >
{% csrf_token %}
<button class="fancybutton2" style="padding: 0.5em 25px; margin-left: 110px" name="rotate" type = "submit" title="Rotates 90 degrees clockwise. JPG and PNG files only." value = "Rotate" >
Rotate it
</button>
</form>
{% else %}
<p style="padding: 0.5em 25px; margin-left: 110px">Not a rotatable image.
{% endif %}
<br /><br /><br />
Full urlencoded path for this file in expofiles is <a href="/expofiles/{{filepath|urlencode}}"><em>{{filepath|urlencode}}</em></a>
<br /><br />
Return to wallet <a href="/walletedit/{{wallet|urlencode}}">{{wallet}}</a>
</div>