nekrochan/templates/overboard-catalog.html

41 řádky
1.1 KiB
HTML
Surový Normální zobrazení Historie

2024-03-16 11:16:46 +00:00
{% import "./macros/catalog-entry.html" as catalog_entry %}
{% import "./macros/post-actions.html" as post_actions %}
{% extends "base.html" %}
{% block title %}Katalog nadnástěnky{% endblock %}
{% block content %}
<div class="container">
<div class="center">
<img class="banner" src="/random-banner">
<h1 class="title">Katalog nadnástěnky</h1>
<p class="description">Nově naťuknutá vlákna ze všech nástěnek</p>
<a href="/overboard">Index</a>
</div>
</div>
<hr>
<form method="get" action="/search">
<table class="form-table">
<tr>
<td>
<input name="query" type="text">
</td>
<td>
<input class="button" type="submit" value="Hledat">
</td>
</tr>
</table>
</form>
<hr>
<form method="post">
<div class="center">
{% for thread in threads %}
{% call catalog_entry::catalog_entry(thread, loop.index, crate::GENERIC_PAGE_SIZE) %}
{% endfor %}
</div>
<hr>
{% call post_actions::post_actions() %}
</form>
{% endblock %}