diff sat_templates/templates/bulma/photo/album.html @ 252:a0e889d73bad

bulma (photo): slideshow CSS + template for slideshow and the comments panel used inside.
author Goffi <goffi@goffi.org>
date Thu, 16 Jul 2020 09:08:34 +0200
parents 2b8d18a9df00
children 5e51ce9376ed
line wrap: on
line diff
--- a/sat_templates/templates/bulma/photo/album.html	Thu Jul 16 09:08:34 2020 +0200
+++ b/sat_templates/templates/bulma/photo/album.html	Thu Jul 16 09:08:34 2020 +0200
@@ -1,3 +1,5 @@
+{# 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/css/swiper.min.css") or "" }}
 {% extends 'base/base.html' %}
 {% import 'components/avatar.html' as avatar with context %}
 {% import 'input/textbox.html' as textbox with context %}