Mercurial > libervia-templates
annotate sat_templates/templates/bulma/blog/discover_panel.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 | 5016fb0ff62f |
children |
rev | line source |
---|---|
230 | 1 {% import 'components/avatar.html' as avatar with context %} |
2 {% import 'input/form.html' as form with context %} | |
3 {% import 'input/field.html' as field with context %} | |
4 | |
321
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
5 {{ icon_defs('blog', 'pencil') }} |
230 | 6 |
405
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
7 <aside class="menu mt-4 px-4 has-text-light"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
8 |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
9 |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
10 <p class="menu-label has-text-grey-light">{% trans %}Blog Search{% endtrans %}</p> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
11 <div class="field"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
12 <p class="help">Use names, JIDs, or keywords.</p> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
13 <div class="control has-icons-left has-icons-right"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
14 <input class="input search-input" type="search" |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
15 placeholder="Search blogsā¦"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
16 <span class="icon is-small is-left"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
17 <i class="fa-solid fa-magnifying-glass"></i> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
18 </span> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
19 <span class="icon is-right action_clear_search"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
20 <a role="button" class="delete is-small" aria-label="Clear search"></a> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
21 </span> |
230 | 22 </div> |
23 </div> | |
405
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
24 <p class="menu-label has-text-grey-light"> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
25 {% trans %}Contact Blogs{% endtrans %} |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
26 </p> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
27 <div id="contact-blogs"></div> |
5016fb0ff62f
Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents:
321
diff
changeset
|
28 </aside> |