# HG changeset patch # User Goffi <goffi@goffi.org> # Date 1688636331 -7200 # Node ID 68c6f30aecabc65c428e1e4cf5dc3a2f816da393 # Parent 58c4c16644214ac4df1e8d678b110a313e0b882a 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. diff -r 58c4c1664421 -r 68c6f30aecab sat_templates/templates/bulma/chat/select.html --- 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 %}