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" %}
|
|
|
|
|
|
|
|
{% block title %}/{{ board.id }}/ - {{ thread.content_nomarkup|inline_post }}{% endblock %}
|
|
|
|
|
|
|
|
{% 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>
|
|
|
|
</div>
|
|
|
|
{% call post_form::post_form(board, tcx.perms, true, thread.id) %}
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<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>
|
|
|
|
{% call post_actions::post_actions(tcx.perms) %}
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|