Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/photo/album.html Fri Nov 27 12:15:39 2020 +0100 +++ b/sat_templates/templates/bulma/photo/album.html Fri Nov 27 12:24:03 2020 +0100 @@ -1,5 +1,6 @@ {# FIXME: Q&D way to add a CSS from node_modules, it should be imported directly with the python module #} {{ css_files.append(build_path+"node_modules/swiper/swiper-bundle.min.css") or "" }} +{% set loading_screen = true %} {% extends 'base/base.html' %} {% import 'components/avatar.html' as avatar with context %} {% import 'input/textbox.html' as textbox with context %}