Mercurial > libervia-templates
changeset 368:68c6f30aecab
bulma (chat/select): put the search at top and replace technical terms:
the search bar is now at the top, and technical term ("JID") has been replaced to make it
more user-friendly.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Jul 2023 11:38:51 +0200 |
parents | 58c4c1664421 |
children | 1b753e3baf06 |
files | sat_templates/templates/bulma/chat/select.html |
diffstat | 1 files changed, 4 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/chat/select.html Thu Jul 06 11:37:08 2023 +0200 +++ b/sat_templates/templates/bulma/chat/select.html Thu Jul 06 11:38:51 2023 +0200 @@ -6,15 +6,13 @@ {% block body %} <section class="section"> - <div class="message"> - <div class="message-body"> - {% trans %}Please select the chat room you want to enter{% endtrans %} - </div> - </div> + {% call form.form(class="form--single") %} + {{ field.search("search", _("Search rooms and peopleā¦"), required=true)}} + {% endcall %} </section> <section class="section"> - <div class="columns is-mobile is-multiline"> + <div id="chat_items" class="columns is-mobile is-multiline"> {% for room in rooms %} <div class="column is-2-desktop is-4-touch"> <div class="card x-is-hoverable"> @@ -32,12 +30,4 @@ </div> </section> -<section class="section"> - <p class="content">{% trans %}Or enter a room address{% endtrans %}</p> - {% call form.form(class="form--single") %} - {{ field.text("jid", _("Room address (JID)"), required=true)}} - {{ field.submit(_("Join")) }} - {% endcall %} -</section> - {% endblock body %}