Mercurial > libervia-templates
annotate sat_templates/templates/bulma/components/data_policy_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 | c2ac3dae1084 |
| children |
| rev | line source |
|---|---|
| 409 | 1 <div class="container"> |
| 2 <div class="panel"> | |
| 3 <div class="panel-heading"> | |
| 4 <span class="icon fa fa-file-shield"></span> | |
| 5 {% trans %}Data Policy Report{% endtrans %} | |
| 6 </div> | |
| 7 | |
| 8 <div class="panel-block"> | |
| 9 <p class="title has-text-weight-bold is-4">Score: {{ score }}/10</p> | |
| 10 </div> | |
| 11 | |
| 12 <div class="panel-block"> | |
| 13 <strong>{% trans %}Details{% endtrans %}:</strong> | |
| 14 </div> | |
| 15 | |
| 16 {% for item in detail %} | |
| 17 <div class="panel-block is-flex is-align-items-center"> | |
| 18 <span class="mr-3 | |
| 19 {% if item.score > 0 %}has-text-success | |
| 20 {% elif item.score < 0 %}has-text-danger | |
| 21 {% else %}has-text-black | |
| 22 {% endif %} | |
| 23 has-text-weight-bold"> | |
| 24 {{ item.score }} | |
| 25 </span> | |
| 26 <p>{{ item.description }}</p> | |
| 27 </div> | |
| 28 {% endfor %} | |
| 29 </div> | |
| 30 </div> |
