equipment/_nav.html

25 lines
1.2 KiB
HTML
Raw Normal View History

2023-10-10 10:59:46 +02:00
<nav class="tabs">
{{if $current == 'index'}}
<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>
<li {{if $current == 'index'}} class="current"{{/if}}><a href="{{$module.url}}index.html">Inventaire</a></li>
2024-10-28 09:53:29 +01:00
{{if $current == 'mouvements'}}<li class="current"><a>Mouvements</a></li>{{/if}}
<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>
{{if $current == 'index'}}
<ul class="sub">
<li {{if $subcurrent == 'proprio'}} class="current"{{/if}}><a href="{{$module.url}}index.html">Matériel permanent</a></li>
<li {{if $subcurrent == 'nonproprio'}} class="current"{{/if}}><a href="{{$module.url}}inventaire_nonprop.html">Matériel temporaire</a></li>
</ul>
{{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>