equipment/_nav.html

31 lines
1.3 KiB
HTML
Raw Normal View History

2023-10-10 10:59:46 +02:00
<nav class="tabs">
2024-11-16 10:25:16 +01:00
{{if $current == 'inventaire'}}
<aside>
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}}
</aside>
{{/if}}
2023-12-06 09:59:11 +01:00
<ul>
2024-11-16 10:25:16 +01:00
<li {{if $current == 'inventaire'}} class="current"{{/if}}><a href="{{$module.url}}index.html">Inventaire</a></li>
<li {{if $current == 'config'}} class="current"{{/if}}><a href="{{$module.url}}categories/index.html">Configuration</a></li>
2023-12-06 09:59:11 +01:00
</ul>
2024-11-15 20:27:42 +01:00
2024-11-16 10:25:16 +01:00
{{if $current == 'inventaire'}}
<ul class="sub">
2024-11-16 10:25:16 +01:00
<li {{if $subcurrent == 'proprio'}} class="current"{{/if}}><a href="{{$module.url}}index.html">Matériels permanents</a></li>
<li {{if $subcurrent == 'nonproprio'}} class="current"{{/if}}><a href="{{$module.url}}inventaire_nonprop.html">Matériels temporaires</a></li>
</ul>
2024-11-16 10:25:16 +01:00
{{if $subsubcurrent == 'mouvements'}}
2024-11-15 20:27:42 +01:00
<ul class="sub">
<li class="title"><strong>{{$eqpmt}} ({{$category}})</strong></li>
<li class="current"><a>Mouvements</a></li>
</ul>
{{/if}}
{{elseif $current == 'config'}}
<ul class="sub" >
<li {{if $subcurrent == 'categories'}} class="current"{{/if}}><a href="{{$module.url}}categories/index.html">Catégories</a></li>
<li {{if $subcurrent == 'typesES'}} class="current"{{/if}}><a href="{{$module.url}}config.html">Types ES</a></li>
</ul>
{{/if}}
2023-10-10 10:59:46 +02:00
</nav>