Move menu bar styling to template

This commit is contained in:
2025-10-15 09:45:17 +02:00
parent f9c5ccc378
commit 8a44f06fb1
2 changed files with 22 additions and 24 deletions

View File

@@ -3,14 +3,14 @@
<ul>
{{range .MenuGroups}}
<li class="tui-dropdown">
{{.LabelHTML}}
<span class="red-168-text">{{slice .Label 0 1}}</span>{{slice .Label 1}}
<div class="tui-dropdown-content">
<ul>
{{range .Items}}
{{if .IsDivider}}
<li class="tui-divider"></li>
{{else}}
<li><a href="{{.URL}}">{{.LabelHTML}}</a></li>
<li><a href="{{.URL}}"><span class="red-168-text">{{slice .Label 0 1}}</span>{{slice .Label 1}}</a></li>
{{end}}
{{end}}
</ul>