nekrochan/templates/ip-posts.html

30 řádky
896 B
HTML

{% import "./macros/post-actions.html" as post_actions %}
{% import "./macros/post.html" as post %}
{% import "./macros/static-pagination.html" as static_pagination %}
{% extends "base.html" %}
{% block title %}Příspěvky od [{{ ip }}]{% endblock %}
{% block content %}
<div class="center">
<img class="banner" src="/random-banner">
<h1 class="title">Příspěvky od [{{ ip }}]</h1>
</div>
<hr>
<form method="post">
<div class="thread">
{% for post in posts %}
<b>Příspěvek z <a href="/boards/{{ post.board }}">/{{ post.board }}/</a></b>
<br>
{% call post::post(boards[post.board.as_str()], post, true) %}
<br>
{% endfor %}
</div>
<hr>
{% call static_pagination::static_pagination("/ip-posts/{}"|format(ip), page, false) %}
<hr>
{% call post_actions::post_actions() %}
</form>
{% endblock %}