Files
monsiteperso/app/templates/creative/_gallery-edit.html
2026-08-03 02:33:58 +02:00

38 lines
1.0 KiB
HTML

<section class="p-0" id="{{ bloc.name }}">
<div class="container-fluid p-0">
<div class="row no-gutters ">
{% for image in bloc.values() %}
{% if image.file %}
<div class="col-lg-4 col-sm-6 text-center">
<a class="portfolio-box">
<img class="img-fluid" src="/static/img/portfolio/thumbnails/{{ image.file }}" alt="{{ image.description }}">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
{{ image.subtitle }}
</div>
<div class="project-name">
{{ image.title }}
<br/><br/>
</div>
</div>
</div>
</a>
<button type="button" class="btn btn-success m-4"
hx-get="/edit/images/{{ bloc.name }}/{{ image.file }}"
hx-target="#{{bloc.name}}"
hw-swap="none">
<i class="fa fa-pencil-square-o"></i>
</button>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</section>