Mercurial > libervia-templates
annotate sat_templates/templates/bulma/chat/select.html @ 235:f5f428a50c10
chat, ticket: use `pre-wrap` instead of `pre` for whitespaces
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 29 May 2020 21:58:19 +0200 |
parents | b54526baef6b |
children | 1928ba66c194 |
rev | line source |
---|---|
230 | 1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
2 {% import 'components/avatar.html' as avatar with context %} | |
3 {% import 'input/form.html' as form with context %} | |
4 {% import 'input/field.html' as field with context %} | |
5 | |
6 {% block body %} | |
7 | |
8 <section class="section"> | |
9 <div class="message"> | |
10 <div class="message-body"> | |
11 {% trans %}Please select the chat room you want to enter{% endtrans %} | |
12 </div> | |
13 </div> | |
14 </section> | |
15 | |
16 <section class="section"> | |
234
b54526baef6b
(bulma) chat: fixed typo in classname
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
17 <div class="columns is-mobile is-multiline"> |
230 | 18 {% for room in rooms %} |
19 <div class="column is-2-desktop is-4-touch"> | |
20 <div class="card x-is-hoverable"> | |
21 <a href="{{room.url}}"> | |
22 <div class="card-image is-flex has-items-centered has-padding-1"> | |
23 {{ avatar.avatar(room.jid, "is-64x64") }} | |
24 </div> | |
25 <div class="card-content has-text-centered has-text-shortenable has-padding-1"> | |
26 <span>{{room.name}}</span> | |
27 </div> | |
28 </a> | |
29 </div> | |
30 </div> | |
31 {% endfor %} | |
32 </div> | |
33 </section> | |
34 | |
35 <section class="section"> | |
36 <p class="content">{% trans %}Or enter a room address{% endtrans %}</p> | |
37 {% call form.form(class="form--single") %} | |
38 {{ field.text("jid", _("Room address (JID)"), required=true)}} | |
39 {{ field.submit(_("Join")) }} | |
40 {% endcall %} | |
41 </section> | |
42 | |
43 {% endblock body %} |