2023-10-19 18:24:36 +02:00
{% extends "base.html" %}
{% block meta %}
< link rel = "stylesheet" href = "/static/view.css" / >
{% endblock %}
{% block content %}
2023-10-20 13:13:22 +02:00
{% 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 >
2023-10-19 18:24:36 +02:00
< 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 >
2023-10-20 13:13:22 +02:00
< b > Category: < / b > < a href = "/search?category={{category[0]}}" > < span > {{category[4]}}/{{category[1]}}< / span > < / a >
2023-10-19 18:24:36 +02:00
< b > Imported: < / b > < span > {{archive[4]|ctime}}< / span >
2023-10-20 17:52:34 +02:00
< b > Size: < / b > < span > {{archive[3]|spacer}}< / span >
2023-10-19 18:24:36 +02:00
< b > Labels: {% if login and userdata[0] == archive[8] %}< a href = "/labels/{{archive[0]}}" > Edit< / a > {% endif %}< / b >
< div >
{% for lab in labels %}
2023-10-20 15:27:25 +02:00
< div class = "label" > {{lab[1]}}< / div >
2023-10-19 18:24:36 +02:00
{% endfor %}
< / div >
< / div >
2023-11-07 12:58:40 +01:00
< img id = "cover" src = "/static/covers/custom/{{archive[0]}}.webp" onerror = "this.onerror=null; this.src='/static/covers/default.webp'" alt = "Cover image" >
2023-10-19 18:24:36 +02:00
< / div >
{% endblock %}