2021-09-08 14:35:51 +02:00
|
|
|
<div class="sidebar-wrapper d-flex flex-column">
|
2021-09-07 15:51:21 +02:00
|
|
|
<div class="sidebar-scroll">
|
|
|
|
<div class="sidebar-content">
|
|
|
|
<ul class="sidebar-elements">
|
|
|
|
<?php foreach ($menu as $category => $categorized): ?>
|
|
|
|
<?= $this->element('layouts/sidebar/category', ['label' => $category]) ?>
|
|
|
|
<?php foreach ($categorized as $parentName => $parent): ?>
|
|
|
|
<?= $this->element('layouts/sidebar/entry', [
|
|
|
|
'parent' => $parent,
|
|
|
|
])
|
|
|
|
?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-09-09 17:16:37 +02:00
|
|
|
<span class="lock-sidebar align-self-center mt-auto w-100 d-none d-sm-block" onclick="$('.sidebar').toggleClass('expanded')">
|
2021-09-16 15:50:55 +02:00
|
|
|
<a type="button" class="btn btn-sm w-100"></a>
|
2021-09-08 14:35:51 +02:00
|
|
|
</span>
|
2021-09-07 15:51:21 +02:00
|
|
|
</div>
|