mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Add Download button
Forgotten to update version 💀
This commit is contained in:
parent
bb98701430
commit
34d6dca2a9
3 changed files with 8 additions and 2 deletions
|
@ -42,6 +42,12 @@
|
|||
</svg>
|
||||
<span class="tool-tip">Share</span>
|
||||
</button>
|
||||
<a class="pill-item" href="/api/uploads/{{ image['file_name'] }}/0" download>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-5 -5 24 24" fill="currentColor">
|
||||
<path d="M8 6.641l1.121-1.12a1 1 0 0 1 1.415 1.413L7.707 9.763a.997.997 0 0 1-1.414 0L3.464 6.934A1 1 0 1 1 4.88 5.52L6 6.641V1a1 1 0 1 1 2 0v5.641zM1 12h12a1 1 0 0 1 0 2H1a1 1 0 0 1 0-2z"></path>
|
||||
</svg>
|
||||
<span class="tool-tip">Download</span>
|
||||
</a>
|
||||
</div>
|
||||
{% if g.user['id'] == image['author_id'] %}
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue