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

36 lines
764 B
Smarty

{% extends 'index.html.tpl' %}
{% block css %}
{% include 'edit-tools/css/dropzone' %}
<link href="/static/css/edit-toolbar.css" rel="stylesheet">
{% endblock %}
{% block body %}
{% include config.theme+'/_nav.html' %}
{% include config.theme+'/_navtool.html' %}
{% for bloc in myblocs.values() %}
{% if blocEdit == bloc.name %}
{% include config.theme+'/blocs/edit/_'+bloc.type+'.html' %}
{% else %}
{% include config.theme+'/blocs/_'+bloc.type+'.html' %}
<button class="btn btn-success btn-xl pull-right"
style="margin-top:-7rem; margin-right:1rem;"
hx-get="/edit/{{ bloc.name }}"
hx-target="#{{bloc.name}}"
hx-swap="oob"> Modifier </button>
{% endif %}
{% endfor %}
{% include '_flash_msgs.html' %}
{% endblock %}
{% block js %}
{% endblock %}