view docs/templates/inc/nav.html @ 445:b8db406cc5e4

web: Fix UI bugs and do a few improvements. - Fix problems introduced by upgrading to the latest PureCSS. - Simplify CSS/JS includes into the page. - Add a bit of shadow to the body when the search field is focused/expanded.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 03 Jan 2018 00:58:09 -0800
parents 3a61f45702cb
children
line wrap: on
line source

<a id="wiki-menu-shortcut" class="wiki-logo">
    <span>W</span>
</a>
<nav id="wiki-menu" role="navigation" class="pure-menu pure-menu-open">
    <ul class="pure-menu-list">
        {% for p in family.root %}
        <li class="pure-menu-item">
        <a class="pure-menu-link" href="{{p.url}}">
        {%- if p.icon %}<i class="fa fa-{{p.icon}} fa-fw"></i>{% endif %}
        {{p.title}}</a>
        </li>
        {% endfor %}
    </ul>
    <ul class="pure-menu-divider">
    </ul>
</nav>