diff sat_templates/templates/bulma/blog/comments_panel.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
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/blog/comments_panel.html	Thu Jul 16 09:08:34 2020 +0200
@@ -0,0 +1,15 @@
+{% import 'input/textbox.html' as textbox with context %}
+{% import 'blog/macros.html' as blog with context %}
+
+<div class="wrapper">
+    <div class="panel_wrapper click_to_close">
+        <div class="comments_side_panel">
+            <section class="section">
+                {{ blog.show_items(comments, expanded=true, dates_fmt='relative') }}
+                <div class="comment_post mt-4">
+                    {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}}
+                </div>
+            </section>
+        </div>
+    </div>
+</div>