Mercurial > libervia-templates
annotate sat_templates/templates/bulma/forum/view_messages.html @ 413:0190a0d32909 default tip
Forum: Major redesign of forums:
Forums have been redesigned. They follow the new general design with 2 or 3 panels,
allowing to have directly a forum if one is found/set up, and a panel on the left to
search/discover other ones.
Categories have been rewritten to be usable with pubsub relationships, a XEP-0277 type
node is used for topics, and each item has a comments node for the threads.
The thread view is set in `forum/show_messages.html` template. It has a header with a
search box and a button to (un)subscribe.
Items are displayed with the same macros as for the blog items.
Below a room is set for editor, tags and attachments.
rel 463
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 05 Sep 2025 21:54:09 +0200 |
parents | sat_templates/templates/bulma/forum/view.html@3db3509cbad1 |
children |
rev | line source |
---|---|
230 | 1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
2 {% set dates_format='relative' if single else 'short' %} | |
3 {% import 'components/avatar.html' as avatar with context %} | |
4 {% import 'blog/macros.html' as blog with context %} | |
5 {% import 'input/textbox.html' as textbox with context %} | |
6 {% import 'input/navigation.html' as navigation with context %} | |
7 | |
8 {% block body %} | |
9 | |
413 | 10 {{ icon_defs( |
11 "ellipsis", "regular face-smile", "reply", "share", "star" | |
12 ) }} | |
230 | 13 |
413 | 14 <div class="columns is-gapless blog-container is-full-height"> |
15 <!-- Left Panel --> | |
16 <div class="column is-2 left-sidebar has-background-dark" id="left_panel"> | |
17 {% include 'forum/discover_panel.html' %} | |
18 </div> | |
19 <div class="column is-8 main-panel blog-main is-flex is-flex-direction-column" id="main_panel"> | |
20 {% include 'forum/show_messages.html' %} | |
21 </div> | |
22 </div> | |
230 | 23 |
24 {% endblock body %} |