BirdNET-stream/www/templates/menu.html.twig

60 lines
1.6 KiB
Twig
Raw Normal View History

2022-08-15 11:42:28 +02:00
<nav class="navbar">
<input type="checkbox" class="toggler" />
<div class="hamburger">
<div></div>
</div>
<div class="fill"></div>
<div class="menu overlay">
<ul>
{% include 'utils/nav-item.html.twig' with {
route: 'home',
text: 'Home'|trans
} %}
{% include 'utils/nav-item.html.twig' with {
route: 'about',
text: 'About'|trans
} %}
{% include 'utils/nav-item.html.twig' with {
route: 'today',
text: "Today's Detections"|trans
} %}
{% include 'utils/nav-item.html.twig' with {
route: 'spectro',
text: 'Live Spectrogram'|trans
} %}
{% include 'utils/nav-item.html.twig' with {
route: 'stats',
text: 'Statistics'|trans
} %}
<li class="dropdown">
{% include 'utils/nav-item.html.twig' with {
route: 'records',
text: 'Recordings'|trans
} %}
<ul class="dropdown-content">
{% include 'utils/nav-item.html.twig' with {
route: 'records_best',
text: 'Best Recordings'|trans
} %}
</ul>
</li>
2022-08-21 06:13:15 +02:00
<li class="dropdown">
<span class="dropdown-toggle">{{ "Tools"|trans }}</span>
<ul class="dropdown-content">
<li><a href="/ttyd">
{{ "Logs"|trans }}
</a></li>
2022-08-21 06:13:15 +02:00
{% include 'utils/nav-item.html.twig' with {
route: 'services_status',
text: 'Status'|trans
} %}
{% include "utils/nav-item.html.twig" with {
route: 'disks',
text: 'Disks'|trans
} %}
</ul>
</li>
</ul>
</div>
2022-08-15 11:42:28 +02:00
</nav>