rar-index-py/flask/templates/home.html
Michael Rodin dda864a92e login
Added login functionality. It's a bit clunky, but it deas what it needs to. Testing needed.
The header now has a search bar, but the page itself needs to be created.
2023-10-18 12:55:20 +02:00

20 lines
518 B
HTML

{% extends "base.html" %}
{% block meta %}
<link rel="stylesheet" href="/static/home.css" />
{% endblock %}
{% block content %}
{% if archives|length > 0 %}
<div class="grid-container">
{% for arch in archives %}
<a class="grid-item" href="/view/{{arch[0]}}"><div class="grid-item clickable"><b>{{arch[1]}}</b></div></a>
<div class="grid-item"><p>{{arch[2]|spacer}}</p></div>
<div class="grid-item"><p>{{arch[3]|ctime}}</p></div>
{% endfor %}
</div>
{% else %}
<p>No matching archives</p>
{% endif %}
{% endblock %}