30 lines
1.1 KiB
Twig
30 lines
1.1 KiB
Twig
{{ header }}{{ column_left }}
|
|
<div id="content">
|
|
<div class="page-header">
|
|
<div class="container-fluid">
|
|
<div class="float-end"><a href="{{ add }}" data-bs-toggle="tooltip" title="{{ button_add }}" class="btn btn-primary"><i class="fa-solid fa-plus"></i></a>
|
|
<button type="submit" form="form-store" formaction="{{ delete }}" data-bs-toggle="tooltip" title="{{ button_delete }}" onclick="return confirm('{{ text_confirm }}');" class="btn btn-danger"><i class="fa-regular fa-trash-can"></i></button>
|
|
</div>
|
|
<h1>{{ heading_title }}</h1>
|
|
<ol class="breadcrumb">
|
|
{% for breadcrumb in breadcrumbs %}
|
|
<li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
|
{% endfor %}
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="container-fluid">
|
|
<div class="card">
|
|
<div class="card-header"><i class="fa-solid fa-list"></i> {{ text_list }}</div>
|
|
<div id="store" class="card-body">{{ list }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript"><!--
|
|
$('#store').on('click', 'thead a, .pagination a', function (e) {
|
|
e.preventDefault();
|
|
|
|
$('#store').load(this.href);
|
|
});
|
|
//--></script>
|
|
{{ footer }} |