nekrochan/templates/thread.html

56 řádky
1.8 KiB
HTML
Surový Normální zobrazení Historie

2023-12-11 15:18:43 +00:00
{% import "./macros/post-actions.html" as post_actions %}
{% import "./macros/post-form.html" as post_form %}
{% import "./macros/post.html" as post %}
{% extends "base.html" %}
2024-02-17 21:24:39 +00:00
{% block theme %}{{ board.config.0.board_theme }}{% endblock %}
2023-12-11 15:18:43 +00:00
{% block title %}/{{ board.id }}/ - {{ thread.content_nomarkup|inline_post }}{% endblock %}
{% block scripts %}
2024-03-10 10:59:29 +00:00
<script src="/static/js/captcha.js" defer=""></script>
<script src="/static/js/live.js" defer=""></script>
<script src="/static/js/post-form.js" defer=""></script>
{% endblock %}
2023-12-11 15:18:43 +00:00
{% block content %}
<div class="container">
<div class="center">
2023-12-16 12:51:50 +00:00
<img class="banner" src="/random-banner">
2023-12-11 15:18:43 +00:00
<h1 class="title">/{{ board.id }}/ - {{ board.name }}</h1>
<p class="description">{{ board.description }}</p>
<a href="/boards/{{ board.id }}/catalog">Katalog</a>
<br>
<br>
<a class="box inline-block open-post-form" href="#post-form">[Nová odpověď]</a>
<br>
<br>
2023-12-11 15:18:43 +00:00
</div>
2023-12-25 13:53:44 +00:00
{% call post_form::post_form(board, true, thread.id) %}
2023-12-11 15:18:43 +00:00
</div>
<hr>
2024-03-02 23:19:48 +00:00
<div class="pagination box inline-block">
<a href="/boards/{{ board.id }}">[Zpět]</a>&#32;
<a href="#bottom">[Dolů]</a>&#32;
<a href="/boards/{{ board.id }}/catalog">[Katalog]</a>
</div>
<hr>
2023-12-11 15:18:43 +00:00
<form method="post">
<div class="thread">
{% call post::post(board, thread, false) %}
{% for reply_post in replies %}
{% call post::post(board, reply_post, true) %}
<br>
{% endfor %}
</div>
<hr>
2024-03-02 23:19:48 +00:00
<div class="pagination box inline-block">
<a href="/boards/{{ board.id }}">[Zpět]</a>&#32;
<a href="#top">[Nahoru]</a>&#32;
<a href="/boards/{{ board.id }}/catalog">[Katalog]</a>
</div>
<hr>
2023-12-25 13:53:44 +00:00
{% call post_actions::post_actions() %}
2023-12-11 15:18:43 +00:00
</form>
{% endblock %}