statbot/templates/menu.html

25 lines
918 B
HTML
Raw Normal View History

<!-- Menu Toggle -->
<a id="menuLink" class="menu-link" href="#menu">
<!-- Hamburger icon -->
<span></span>
</a>
<div id="menu">
<div class="pure-menu">
<a class="pure-menu-heading" href="/">{{.Title}}</a>
<ul class="pure-menu-list">
{{ range $i, $v := .Menu }}
<li class="pure-menu-item {{ if $v.Active }} pure-menu-selected {{ end }}">
<a class="pure-menu-link" href="{{ $v.Link }}">{{ $v.Text }}</a>
</li>
{{ end }}
</ul>
<ul class="pure-menu-list menu-list-dropped">
{{ range $i, $v := .BottomMenu }}
<li class="pure-menu-item {{ if $v.Active }} pure-menu-selected {{ end }}">
<a class="pure-menu-link" href="{{ $v.Link }}">{{ $v.Text }}</a>
</li>
{{ end }}
</ul>
</div>
</div>