Source

hbwebui / hbwebui / templates / navbar.html

<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <ul class="nav">
                <li {% if page == "dashboard" %}class="active"{% endif %}><a href="{% if page == "dashboard" %}#{% else %}{% url dashboard %}{% endif %}">Dashboard</a></li>
                
                {% if page == "stats_binaries" or page == "stats_source_ips" %}
                <li class="dropdown active">
                    {% if page == "stats_binaries" %}
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">Stats / Binaries <span class="caret"></span></a>
                    {% endif %}
                    {% if page == "stats_source_ips" %}
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">Stats / Source IPs <span class="caret"></span></a>
                    {% endif %}
                {% else %}
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">Stats <span class="caret"></span></a>
                {% endif %}
                    <ul class="dropdown-menu">
                        {% if page == "stats_binaries" %}
                        <li><a href="#"><strong>Binaries</strong></a></li>
                        {% else %}
                        <li><a href="{% url stats_binaries %}">Binaries</a>
                        {% endif %}
                        {% if page == "stats_source_ips" %}
                        <li><a href="#"><strong>Source IPs</strong></a></li>
                        {% else %}
                        <li><a href="{% url stats_source_ips %}">Source IPs</a>
                        {% endif %}
                    </ul>
                </li>
            </ul>
            <div class="nav pull-right dropdown">
                <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><span class="icon-user"></span> {{ user.username }} <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <!--<li class="divider"></li>-->
                    <li><a href="{% url logout %}">Log out</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.