2024-04-29 08:36:13 +02:00
|
|
|
{{ define "page" }}
|
|
|
|
|
|
|
|
{{ block "page_label" . }}{{end}}
|
|
|
|
{{ $version := .VERSION }}
|
|
|
|
|
|
|
|
<div id="areas">
|
|
|
|
{{ range .Data.Areas }}
|
|
|
|
<div class="area">
|
|
|
|
<div class="name">{{ .Name }}</div>
|
|
|
|
{{ range .SortedSections }}
|
|
|
|
<div class="section">
|
2024-05-01 10:02:33 +02:00
|
|
|
<div class="create">
|
|
|
|
<div class="name">{{ .Name }}</div>
|
|
|
|
<div class="new"><a href="/trigger/edit/0/{{ .ID }}">+</a></div>
|
|
|
|
</div>
|
2024-04-29 08:36:13 +02:00
|
|
|
|
|
|
|
<div class="triggers">
|
|
|
|
{{ range .SortedTriggers }}
|
|
|
|
{{ if eq .Name "" }}
|
|
|
|
{{ continue }}
|
|
|
|
{{ end }}
|
|
|
|
<a href="/trigger/edit/{{ .ID }}">
|
|
|
|
<div class="trigger">
|
|
|
|
<img src="/images/{{ $version }}/triggers.svg">
|
|
|
|
<div class="label">{{ .Name }}</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ end }}
|