Mercurial > libervia-templates
view sat_templates/templates/bulma/invitation/invite_by_email.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 | b6937cf854f0 |
children |
line wrap: on
line source
{% import 'input/form.html' as form with context %} {% import 'input/field.html' as field with context %} <div class="modal is-active"> <div class="modal-background"></div> <div class="modal-card"> <header class="modal-card-head"> <p class="modal-card-title">{% trans %}Invite somebody by email{% endtrans %}</p> <button class="delete click_to_close" aria-label="close"></button> </header> <section class="modal-card-body"> {% call form.form(id="email_invitation_form") %} {{ field.email("email", _("email"), required=true, icon_left="mail") }} {{ field.text("name", _("name"), required=true, icon_left="person") }} {% endcall %} </section> <footer class="modal-card-foot"> {{ field.submit( _("Send invitation"), id="email_invitation_submit", class="button is-success", attr={'form': 'email_invitation_form'} ) }} <button class="button click_to_close">{% trans %}Cancel{% endtrans %}</button> </footer> </div> </div>