2024-04-29 08:36:13 +02:00
|
|
|
{{ define "menu" }}
|
|
|
|
<div id="menu">
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="entry {{ if eq .MENU "index" }}selected{{ end }}">
|
|
|
|
<a href="/">
|
2024-06-25 08:59:07 +02:00
|
|
|
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/logo{{ if eq .MENU "index" }}_selected{{ end }}.svg">
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="label">Start</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-05-22 07:32:53 +02:00
|
|
|
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="entry {{ if eq .MENU "problems" }}selected{{ end }}">
|
|
|
|
<a href="/problems">
|
2024-06-25 08:59:07 +02:00
|
|
|
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/problems{{ if eq .MENU "problems" }}_selected{{ end }}.svg">
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="label">Problems</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-05-22 07:32:53 +02:00
|
|
|
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="entry {{ if eq .MENU "datapoints" }}selected{{ end }}">
|
|
|
|
<a href="/datapoints">
|
2024-06-25 08:59:07 +02:00
|
|
|
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/datapoints{{ if eq .MENU "datapoints" }}_selected{{ end }}.svg">
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="label">Datapoints</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-05-22 07:32:53 +02:00
|
|
|
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="entry {{ if eq .MENU "triggers" }}selected{{ end }}">
|
|
|
|
<a href="/triggers">
|
2024-06-25 08:59:07 +02:00
|
|
|
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/triggers{{ if eq .MENU "triggers" }}_selected{{ end }}.svg">
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="label">Triggers</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-05-22 07:32:53 +02:00
|
|
|
|
2024-06-29 15:20:31 +02:00
|
|
|
<div class="entry {{ if eq .MENU "notifications" }}selected{{ end }}">
|
|
|
|
<a href="/notifications">
|
|
|
|
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/notifications{{ if eq .MENU "notifications" }}_selected{{ end }}.svg" style="width: 36px">
|
|
|
|
<div class="label">Notifications</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="entry {{ if eq .MENU "configuration" }}selected{{ end }}">
|
|
|
|
<a href="/configuration">
|
2024-06-25 08:59:07 +02:00
|
|
|
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/configuration{{ if eq .MENU "configuration" }}_selected{{ end }}.svg">
|
2024-05-22 07:49:50 +02:00
|
|
|
<div class="label">Config</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-04-29 08:36:13 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|