restructure for docker

This commit is contained in:
Ville Rantanen
2023-07-24 20:02:45 +03:00
parent 79780f0769
commit 58abf04d2c
45 changed files with 152 additions and 17 deletions

View File

@@ -0,0 +1,27 @@
{% extends 'base.html' %}
{%- block content %}
<p>{{ minimd(description) | safe }}</p>
<table>
<tr>
<th>Forum</th>
<th>Last update</th>
</tr>
{% for id, name, description, t_id, t_title, t_mtime in forums %}
<tr>
<td>
<p><a href="{{ url_for('forum', forum_id = id) }}"><b>{{ name }}</b></a></p>
<p>{{ minimd(description) | safe }}</p>
</td>
{% if t_id %}
<td>
<p><a href="{{ url_for('thread', thread_id = t_id) }}"><b>{{ t_title }}</b></a></p>
<p>{{ format_since(t_mtime) }}</p>
</td>
{% else %}
<td>No threads</td>
{% endif %}
</tr>
{%- endfor -%}
</table>
{%- endblock %}