79 lines
3.0 KiB
Handlebars
79 lines
3.0 KiB
Handlebars
<!-- Sidebar -->
|
|
<nav id="sidebar">
|
|
<div class="sidebar-header">
|
|
<h3>einsatz.online</h3>
|
|
<hr>
|
|
<div class="user-info">
|
|
<p><a href="/portal/personal_profile?action=view"><button class="btn text-left btn-sm" ><svg width="1.5em" height="1.5em" fill="currentColor">
|
|
<use xlink:href="/img/bootstrap-icons.svg#file-earmark-person"/>
|
|
</svg> {{sidebar.firstname}} {{sidebar.lastname}}</button></a></p>
|
|
</div><hr>
|
|
<a href="/portal/logout"><button class="btn btn-sm"><svg width="1.5em" height="1.5em" fill="currentColor">
|
|
<use xlink:href="/img/bootstrap-icons.svg#door-open"/>
|
|
</svg> Abmelden</button></a>
|
|
</div>
|
|
|
|
<ul class="components sidebar-navigation">
|
|
{{#if sidebar.summary.visible}}
|
|
<li {{#if sidebar.summary.active}}class="sidebar_entry_active"{{/if}}>
|
|
<a href="/portal">Übersicht</a>
|
|
</li>
|
|
{{/if}}
|
|
{{#if sidebar.member_management.visible}}
|
|
<li>
|
|
<a {{#if sidebar.member_management.active}}class="sidebar_entry_active"{{/if}} href="/portal/mm">Mitglieder</a>
|
|
{{#if sidebar.member_management.active}}
|
|
<ul>
|
|
<li><a href="/portal/mm">Mitgliederliste</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="/portal/mm/profile">Profil</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="/portal/mm/groups">Gruppen</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="/portal/mm/trainings">Aus- und Fortbildungen</a></li>
|
|
</ul>
|
|
{{/if}}
|
|
</li>
|
|
{{/if}}
|
|
{{#if sidebar.resource_management.visible}}
|
|
<li>
|
|
<a {{#if sidebar.resource_management.active}}class="sidebar_entry_active"{{/if}} href="/portal/rm">Ressourcen</a>
|
|
{{#if sidebar.resource_management.active}}
|
|
<ul>
|
|
<li><a href="/portal/rm">List</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="/portal/rm/vehicles">Vehicles</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="/portal/rm/items">Items</a></li>
|
|
</ul>
|
|
{{/if}}
|
|
</li>
|
|
{{/if}}
|
|
{{#if sidebar.event_management.visible}}
|
|
<li>
|
|
<a {{#if sidebar.event_management.active}}class="sidebar_entry_active"{{/if}} href="/portal/em">Einsätze</a>
|
|
{{#if sidebar.event_management.active}}
|
|
<ul>
|
|
<li><a href="/portal/em">Calendar</a></li>
|
|
</ul>
|
|
{{/if}}
|
|
</li>
|
|
{{/if}}
|
|
|
|
</ul>
|
|
<ul class="components sidebar-actions">
|
|
{{#if sidebar.member_management.active}}
|
|
<li>
|
|
<a href="/portal/mm/add_member">Mitglied hinzufügen</a>
|
|
</li>
|
|
{{/if}}
|
|
</ul>
|
|
<div class="versiontag">
|
|
<p>Version: {{> versiontag}}</p>
|
|
</div>
|
|
</nav> |