annotate sat_templates/templates/bulma/components/url_preview_control.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 941e4006ab6e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
364
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% block url_preview %}
385
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents: 364
diff changeset
2 <div class="notification is-info is-light my-5">
364
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
3 <div class="content">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <h4 class="title is-4">{% trans %}URL Preview{% endtrans %}</h4>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <p class="mb-4">{% trans %}To protect your privacy, we don't automatically fetch URL previews. If you want to preview this URL, just hit the "Fetch Preview" button. You can customize this preference in your settings.{% endtrans %}</p>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class="buttons">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <a class="button is-link action_go_to_settings" href="#">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <span class="icon">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {{ icon('wrench') }}
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
11 <span>{% trans %}Go to Settings{% endtrans %}</span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </a>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
13 <button class="button is-primary action_fetch_preview">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
14 <span class="icon">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {{ icon('eye') }}
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <span>{% trans %}Fetch Preview{% endtrans %}</span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
18 </button>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
19 </div>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
20 </div>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
21 </div>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
22 {% endblock url_preview %}