2021-10-19 09:28:38 +00:00
|
|
|
{{define "components/menu"}}
|
|
|
|
<section class="is-large">
|
|
|
|
<aside class="menu">
|
|
|
|
<p class="menu-label">
|
|
|
|
Files
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
|
|
|
{{ range .Files }}
|
2021-10-19 18:32:37 +00:00
|
|
|
<li>
|
|
|
|
<a {{if eq $.File.Alias . }}
|
|
|
|
class="is-active"
|
|
|
|
{{end}}
|
|
|
|
href="/?name={{.}}"
|
|
|
|
>{{ . }}</a>
|
|
|
|
</li>
|
2021-10-19 09:28:38 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
<p class="menu-label">
|
|
|
|
ConfigUI
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2021-10-19 18:32:37 +00:00
|
|
|
<li>
|
|
|
|
<a {{if eq $.File.Alias "ConfigUI" }}
|
|
|
|
class="is-active"
|
|
|
|
{{end}}
|
|
|
|
href="/"
|
|
|
|
>config.json</a></li>
|
2021-10-19 09:28:38 +00:00
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
</section>
|
|
|
|
{{end}}
|