Small QoL improvements
This commit is contained in:
parent
7b2140b52e
commit
3c79c3c688
4 changed files with 9 additions and 9 deletions
|
@ -5,12 +5,12 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if login and userdata[0] == archive[8] %}<a href="/delete/{{archive[0]}}"><button class="big-button"><b>Delete</b></button></a>{% endif %}<h2>{{archive[1]}}</h2>
|
||||
{% if login and userdata[0] == archive[8] %}<a href="/delete/{{archive[0]}}"><button class="big-button"><b style="color:red;">Delete</b></button></a>{% endif %}<h2>{{archive[1]}}</h2>
|
||||
<div class="grid-container">
|
||||
<div class="archive-info">
|
||||
<b>Hash: </b><span>{{archive[2]}}</span>
|
||||
<b>Owner: </b><a href="/user/{{archive[-2]}}">{{archive[-1]}}</a>
|
||||
<b>Category: </b><span>{{category[4]}}/{{category[1]}}</span>
|
||||
<b>Category: </b><a href="/search?category={{category[0]}}"><span>{{category[4]}}/{{category[1]}}</span></a>
|
||||
<b>Imported: </b><span>{{archive[4]|ctime}}</span>
|
||||
<b>Size: </b><span>{{archive[4]|spacer}}</span>
|
||||
<b>Labels: {% if login and userdata[0] == archive[8] %}<a href="/labels/{{archive[0]}}">Edit</a>{% endif %}</b>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue