annotate sat_templates/templates/bulma/photo/create.html @ 295:1de599c5a68f

bulma (base): loading screen: when the `loading_screen` variable is set before extending `base/base.html`, a loading modal is shown (and must be removed via JavaScript). This avoids the user to try to use an interface which is not reactive or working normally because JS is not fully loaded yet.
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:24:03 +0100
parents 11874a332add
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
241
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {# create a new event #}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
2
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% extends 'base/base.html' %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'input/form.html' as form with context %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {% import 'input/field.html' as field with context %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
6
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
7 {% block body %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <section class="section">
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <h3 class='title is-3'>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% trans %}Create an event{% endtrans %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
11 </h3>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% call form.form(class="form--paper form__panel--vertical") %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ field.text("name", _("album name"), required=true) }}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {{ field.submit(_("Create a photo album")) }}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% endcall %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </section>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
17 {% endblock body %}