Mercurial > libervia-templates
annotate sat_templates/templates/bulma/blog/discover.html @ 376:c1f384f006e8
bulma (call): add "ringing" status
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 16 Aug 2023 18:27:06 +0200 |
parents | c08fadf23c46 |
children |
rev | line source |
---|---|
230 | 1 {% extends 'base/base.html' %} |
2 {% import 'components/block.html' as block %} | |
3 {% import 'components/images.html' as images with context %} | |
4 {% import 'components/avatar.html' as avatar with context %} | |
5 {% import 'input/form.html' as form with context %} | |
6 {% import 'input/field.html' as field with context %} | |
7 | |
8 {% block body %} | |
321
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
9 {{ icon_defs('blog', 'pencil') }} |
230 | 10 |
11 <section class="section"> | |
321
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
12 {% if url_blog_edit is defined %} |
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
13 <div class="content has-items-centered is-flex"> |
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
14 {{ component.action_button(url_blog_edit, _("new post"), "pencil") }} |
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
15 </div> |
c08fadf23c46
bulma (blog/discover): new "new post" button to publish a new post
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
16 {% endif %} |
230 | 17 <article class="message has-text-centered"> |
18 <div class="message-body"> | |
19 {% trans %} | |
20 Please select the blog you want to consult | |
21 {% endtrans %} | |
22 </div> | |
23 </article> | |
24 <div class="columns is-mobile is-multiline"> | |
25 {% for entity in disco_entities %} | |
26 <div class="column is-2-desktop is-4-touch"> | |
27 <div class="card x-is-hoverable"> | |
28 <a href="{{entities_url[entity]}}" class="items_vert--centered"> | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
29 <div class="card-image is-flex has-items-centered px-1 py-1"> |
230 | 30 {{ avatar.avatar(entity, "is-64x64") }} |
31 </div> | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
32 <div class="card-content has-text-centered has-text-shortenable px-1 py-1"> |
230 | 33 <span>{{ identities[entity].nicknames[0] if identities[entity].nicknames else entity }}</span> |
34 </div> | |
35 </a> | |
36 </div> | |
37 </div> | |
38 {% endfor %} | |
39 </div> | |
40 </section> | |
41 | |
42 <section class="section"> | |
43 <p class="content">{% trans %}Or enter the jid of a blog writer{% endtrans %}</p> | |
44 {% call form.form(class="form--single") %} | |
45 {{ field.text("jid", _("blog writer jid"), required=true)}} | |
46 {{ field.submit(_("Consult")) }} | |
47 {% endcall %} | |
48 </section> | |
49 {% endblock body %} |