32 lines
1.2 KiB
Twig
32 lines
1.2 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-topic" 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="topic" class="card-body">{{ list }}</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript"><!--
|
||
|
$('#topic').on('click', 'thead a, .pagination a', function (e) {
|
||
|
e.preventDefault();
|
||
|
|
||
|
$('#topic').load(this.href);
|
||
|
});
|
||
|
//--></script>
|
||
|
{{ footer }}
|