2022-07-31 15:50:16 +02:00
|
|
|
{% import "elements/tree_macros.html.twig" as tree %}
|
2022-03-05 23:09:55 +01:00
|
|
|
|
2022-07-31 15:50:16 +02:00
|
|
|
|
|
|
|
<div class="nav flex-column">
|
|
|
|
|
|
|
|
{{ tree.treeview_sidebar('sidebar-panel-1', 'categories') }}
|
|
|
|
{{ tree.treeview_sidebar('sidebar-panel-2', 'devices') }}
|
|
|
|
{{ tree.treeview_sidebar('sidebar-panel-3', 'tools') }}
|
|
|
|
|
|
|
|
{# <li id="treeBox-categories">
|
2019-09-05 00:09:11 +02:00
|
|
|
<div class="input-group input-group-sm mb-2 mt-1">
|
2022-07-24 21:26:01 +02:00
|
|
|
<button class="btn btn-light dropdown-toggle" type="button"
|
|
|
|
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
|
|
|
|
><span class="sidebar-title" id="tree-categories-title">{% trans %}category.labelp{% endtrans %}</span></button>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownCat">
|
|
|
|
{{ _self.sidebar_dropdown('tree-categories') }}
|
|
|
|
</ul>
|
2019-09-05 00:09:11 +02:00
|
|
|
<input type="search" class="form-control bg-light border-0" id="tree-category-search" placeholder="{% trans %}search.placeholder{% endtrans %}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="tree-categories" data-tree-search="#tree-category-search"></div>
|
|
|
|
</li>
|
2020-01-04 21:42:44 +01:00
|
|
|
<li id="treeBox-devices" class="d-sm-none d-md-block">
|
2019-09-05 00:09:11 +02:00
|
|
|
<div class="input-group input-group-sm mb-2 mt-2">
|
2022-07-24 21:26:01 +02:00
|
|
|
<button class="btn btn-light dropdown-toggle" type="button"
|
|
|
|
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
|
|
|
|
><span class="sidebar-title" id="tree-devices-title">{% trans %}device.labelp{% endtrans %}</span></button>
|
2019-09-05 00:09:11 +02:00
|
|
|
|
2022-07-24 21:26:01 +02:00
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownDev">
|
|
|
|
{{ _self.sidebar_dropdown('tree-devices') }}
|
|
|
|
</ul>
|
2019-09-05 00:09:11 +02:00
|
|
|
<input type="search" class="form-control bg-light border-0" id="tree-devices-search" placeholder="{% trans %}search.placeholder{% endtrans %}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="tree-devices" data-tree-search="#tree-devices-search"></div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li id="treeBox-tools">
|
|
|
|
<div class="input-group input-group-sm mb-2 mt-2">
|
2022-07-24 21:26:01 +02:00
|
|
|
<button class="btn btn-light dropdown-toggle" type="button"
|
|
|
|
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
|
|
|
|
><span class="sidebar-title" id="tree-tools-title">{% trans %}tools.label{% endtrans %}</span></button>
|
2019-09-05 00:09:11 +02:00
|
|
|
|
2022-07-24 21:26:01 +02:00
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownTools">
|
|
|
|
{{ _self.sidebar_dropdown('tree-tools') }}
|
|
|
|
</ul>
|
2019-09-05 00:09:11 +02:00
|
|
|
|
|
|
|
<input type="search" class="form-control bg-light border-0" id="tree-tools-search" placeholder="{% trans %}search.placeholder{% endtrans %}">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="tree-tools" data-tree-search="#tree-tools-search"></div>
|
2022-07-31 15:50:16 +02:00
|
|
|
</li> #}
|
|
|
|
</div>
|