adjust comments
This commit is contained in:
parent
25a3373f2b
commit
4cabbe2013
@ -1,7 +1,7 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card shadow-sm">
|
<div class="card shadow-sm">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<span class="flex">{{ gallary.title }}</span>
|
<span class="flex">{{ gallery.title }}</span>
|
||||||
<a
|
<a
|
||||||
href="#"
|
href="#"
|
||||||
class="btn btn-link float-end"
|
class="btn btn-link float-end"
|
||||||
@ -15,19 +15,19 @@
|
|||||||
|
|
||||||
<img
|
<img
|
||||||
class="card-image-top"
|
class="card-image-top"
|
||||||
width="{{ gallary.width | default('100%') }}"
|
width="{{ gallery.width | default('100%') }}"
|
||||||
height="{{ gallary.height | default('225') }}"
|
height="{{ gallery.height | default('225') }}"
|
||||||
src="{{ gallary.src }}"
|
src="{{ gallery.src }}"
|
||||||
alt="{{ gallary.alt_text if gallary.alt_text else gallary.title }}"
|
alt="{{ gallery.alt_text if gallery.alt_text else gallery.title }}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-text">{{ gallary.description | default('') }}</p>
|
<p class="card-text">{{ gallery.description | default('') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-footer text-body-secondary text-end">
|
<div class="card-footer text-body-secondary text-end">
|
||||||
{% if gallary.reactions %}
|
{% if gallery.reactions %}
|
||||||
{% for reaction in gallary.reactions %}
|
{% for reaction in gallery.reactions %}
|
||||||
{# TODO: limit total number of reactions shown #}
|
{# TODO: limit total number of reactions shown #}
|
||||||
<span class="badge rounded-pill">
|
<span class="badge rounded-pill">
|
||||||
<i class="bi-{{ reaction }}" style="color: black;"></i>
|
<i class="bi-{{ reaction }}" style="color: black;"></i>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
|
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
|
||||||
|
|
||||||
{% for gallary in gallery_items %}
|
{% for gallery in gallery_items %}
|
||||||
{% include 'card.html' %}
|
{% include 'card.html' %}
|
||||||
{# include 'card_loading.html' #}
|
{# include 'card_loading.html' #}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!--
|
<!--{#
|
||||||
#~ Var | Required | Default ~#
|
#~ Var | Required | Default ~#
|
||||||
language | no | en
|
language | no | en
|
||||||
css_theme_name | no | auto
|
css_theme_name | no | auto
|
||||||
@ -40,7 +40,7 @@
|
|||||||
- type | no | none
|
- type | no | none
|
||||||
- color | no | none
|
- color | no | none
|
||||||
... (etc)
|
... (etc)
|
||||||
-->
|
#}-->
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html
|
<html
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!--
|
<!--{#
|
||||||
#~ Var | Required | Default ~#
|
#~ Var | Required | Default ~#
|
||||||
theme | no | dark
|
theme | no | dark
|
||||||
text_theme | no | white
|
text_theme | no | white
|
||||||
@ -12,7 +12,7 @@
|
|||||||
- text | yes | none
|
- text | yes | none
|
||||||
- icon | no | none
|
- icon | no | none
|
||||||
... (etc)
|
... (etc)
|
||||||
-->
|
#}-->
|
||||||
<header data-bs-theme="{{ theme | default('dark') }}">
|
<header data-bs-theme="{{ theme | default('dark') }}">
|
||||||
<div class="collapse text-bg-{{ theme | default('dark') }}" id="navbarHeader">
|
<div class="collapse text-bg-{{ theme | default('dark') }}" id="navbarHeader">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
Loading…
Reference in New Issue
Block a user