diff sat_templates/templates/bulma/list/discover.html @ 298:1c330913ff13

bulma (tickets): renamed "tickets" to "lists"
author Goffi <goffi@goffi.org>
date Thu, 28 Jan 2021 18:42:59 +0100
parents
children 877f01720036
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/list/discover.html	Thu Jan 28 18:42:59 2021 +0100
@@ -0,0 +1,30 @@
+{% extends 'base/base.html' %}
+{% import 'components/block.html' as block with context %}
+{% import 'components/images.html' as images with context %}
+{% import 'components/avatar.html' as avatar with context %}
+{% import 'input/form.html' as form with context %}
+{% import 'input/field.html' as field with context %}
+
+{% block body %}
+{{ icon_defs('clipboard') }}
+<section class="section">
+    <article class="message has-text-centered">
+      <div class="message-body">
+        {% trans %}
+        Please select the list to use.
+        {% endtrans %}
+      </div>
+    </article>
+    {% if lists_directory is defined %}
+        <div class="disco_lists">
+            {{block.disco_icon_grid(lists_directory, 'clipboard')}}
+        </div>
+    {% endif %}
+</section>
+<section class="section">
+    {% call form.form(class="form--single") %}
+        {{ field.text("jid", _("list jid"), required=true)}}
+        {{ field.submit(_("Access")) }}
+    {% endcall %}
+</section>
+{% endblock body %}