statbot/templates/menu.html

25 lines
929 B
HTML
Raw Normal View History

<!-- Menu Toggle -->
2015-11-10 01:23:23 +00:00
<a id="resp_menu_link" class="menu-link" href="#menu">
<!-- Hamburger icon -->
<span></span>
</a>
2015-11-10 01:23:23 +00:00
<div id="resp_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>