nineskeletor/templates/Config/list.html.twig

70 lines
1.8 KiB
Twig
Raw Normal View History

2022-07-21 16:15:47 +02:00
{% extends "base.html.twig" %}
{% block body %}
<h1 class="page-header">
CONFIGURATIONS
</h1>
2022-07-26 16:03:53 +02:00
{% if auditUse and (access=="admin" or access=="audit") %}
<a class="btn btn-secondary float-end" href="{{ path("app_"~access~"_audit_render",{entityname:"Config"}) }}"><i class="fas fa-eye fa-fw"></i> Audit</a>
<br><br>
{% endif %}
2022-07-21 16:15:47 +02:00
<div class="row">
<div class="col-md-12 mt-4">
<h3>Générale</h3>
{{ render(path("app_admin_config_render",{category:"site"})) }}
</div>
<div class="col-md-6 mt-4">
<h3>Couleurs des fonds de page</h3>
{{ render(path("app_admin_config_render",{category:"colorbgbody"})) }}
</div>
<div class="col-md-6 mt-4">
<h3>Polices</h3>
{{ render(path("app_admin_config_render",{category:"font"})) }}
</div>
<div class="col-md-6 mt-4">
<h3>Couleurs des titres </h3>
{{ render(path("app_admin_config_render",{category:"colorfttitle"})) }}
</div>
<div class="col-md-6 mt-4">
<h3>Couleurs de la police </h3>
{{ render(path("app_admin_config_render",{category:"colorftbody"})) }}
</div>
<div class="col-md-6 mt-4">
<h3>Logo</h3>
{{ render(path("app_admin_config_render",{category:"logo"})) }}
</div>
<div class="col-md-12 mt-4">
<h3>Bannière</h3>
{{ render(path("app_admin_config_render",{category:"header"})) }}
</div>
</div>
{% endblock %}
{% block localjavascript %}
$(document).ready(function() {
$('#dataTables').DataTable({
columnDefs: [ { "targets": "no-sort", "orderable": false }, { "targets": "no-string", "type" : "num" } ],
responsive: true,
iDisplayLength: 100,
order: [[ 1, "asc" ]]
});
});
{% endblock %}