comparison sat_templates/templates/bulma/photo/album.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 7670752665e0
children 4e050f67c079
comparison
equal deleted inserted replaced
294:a587d664f62c 295:1de599c5a68f
1 {# FIXME: Q&D way to add a CSS from node_modules, it should be imported directly with the python module #} 1 {# FIXME: Q&D way to add a CSS from node_modules, it should be imported directly with the python module #}
2 {{ css_files.append(build_path+"node_modules/swiper/swiper-bundle.min.css") or "" }} 2 {{ css_files.append(build_path+"node_modules/swiper/swiper-bundle.min.css") or "" }}
3 {% set loading_screen = true %}
3 {% extends 'base/base.html' %} 4 {% extends 'base/base.html' %}
4 {% import 'components/avatar.html' as avatar with context %} 5 {% import 'components/avatar.html' as avatar with context %}
5 {% import 'input/textbox.html' as textbox with context %} 6 {% import 'input/textbox.html' as textbox with context %}
6 {% import 'blog/macros.html' as blog with context %} 7 {% import 'blog/macros.html' as blog with context %}
7 8