Mercurial > libervia-templates
annotate sat_templates/templates/bulma/forum/view_topics.html @ 402:2bbcb7da56bc default tip
bulma: use Font-Awesome instead of Fontello + start of major redesign:
- Font-Awesome is now used instead of Fontello, following change in Libervia Media.
- This is a beginning of a major redesign of the web templates/web frontend. This
currently breaks a lot of thing.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Oct 2024 22:53:26 +0200 |
parents | 3db3509cbad1 |
children |
rev | line source |
---|---|
230 | 1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
2 {% import 'input/field.html' as field with context%} | |
3 {% import 'input/textbox.html' as textbox with context %} | |
4 {% import 'input/navigation.html' as navigation with context %} | |
5 {% import 'components/avatar.html' as avatar with context %} | |
6 | |
7 {% block body %} | |
8 | |
9 {% if not topics %} | |
10 <div class="message"> | |
11 <div class="message-body"> | |
12 {% trans %}There is not message yet in this forum.{% endtrans %} | |
13 {% if profile %} | |
14 {% trans %}You can start a topic of interest by filling this form.{% endtrans %} | |
15 {% else %} | |
16 {% trans %}You can login to create a new topic.{% endtrans %} | |
17 {% endif %} | |
18 </div> | |
19 </div> | |
20 {% endif %} | |
21 | |
328
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
22 <section class="section has-background-white"> |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
23 <nav class="level mb-4"> |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
24 <div class="level-left"> |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
25 <div class="level-item"> |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
26 {{ component.action_button(url_topic_new, _("New Topic")) }} |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
27 </div> |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
28 </div> |
bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
29 </nav> |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
30 <div class="has-background-white px-1 py-1"> |
332
3db3509cbad1
bulma: fix items/pagination ordering in various places following ordering fix in Libervia/SàT Pubsub
Goffi <goffi@goffi.org>
parents:
328
diff
changeset
|
31 {% for topic in topics|reverse %} |
230 | 32 <div class="media has-items-vcentered"> |
33 <div class="media-left"> | |
34 {{ avatar.avatar(topic.author) }} | |
35 </div> | |
36 <div class="media-content"> | |
37 <p class="is-size-5-desktop is-size-6-touch x-is-hoverable"> | |
38 <a href="{{topic.http_uri}}"> | |
39 {{topic.title}} | |
40 </a> | |
41 </p> | |
42 </div> | |
43 </div> | |
44 {% endfor %} | |
45 </div> | |
46 </section> | |
47 | |
48 {{ navigation.prev_next(_("older topics"), _("newer topics")) }} | |
49 {% endblock body %} |