<!doctype html>
<html lang="en" class="fuelux" xmlns="http://www.w3.org/1999/html">
{% block html %}
<head>
    {% block head %}
    {% if title %}
    <title>{{ title }} - BeeSwarm</title>
    {% else %}
    <title>Bee Swarm</title>
    {% endif %}
    {% block meta %}
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    {% endblock meta %}
    {% block css %}
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/bootstrap-responsive.min.css">
    <link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/thirdparty/fuelux/css/fuelux.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/static/thirdparty/fuelux/css/fuelux-responsive.css" rel="stylesheet" type="text/css">
    {% endblock css %}
    {% block javascript %}
    <script src="/static/js/jquery-1.9.1.min.js"></script>
    <script src="/static/thirdparty/fuelux/loader.min.js"></script>
    <script src="/static/js/underscore-min.js"></script>
    <script src="/static/js/main.js"></script>
    {% endblock javascript %}
    {% endblock head %}
</head>

<body>
{% block body %}
<div class="container">
    {% block pageheading %}
    <div class="page-header">
        <h1>BeeSwarm
            <small>Active IDS made easy</small>
        </h1>
    </div>
    {% endblock pageheading %}
    {% block navbar %}
    <div class="navbar">
        <div class="navbar-inner">
            <ul class="nav">
                <li><a href="/"><i class="icon-home"></i> Home</a></li>
                <li class="divider-vertical"></li>
                <li><a href="/ws/drone/add"><i class="icon-plus"></i> Drone</a></li>
                <li class="divider-vertical"></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="icon-list"></i> Sessions
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/sessions">All</a></li>
                        <li><a href="/sessions/attacks">Attacks</a></li>
                        <li><a href="/sessions/bait_sessions">Bait sessions</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="icon-list"></i> Drones
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/ws/drones">All</a></li>
                        <li><a href="/ws/drones/honeypot">Honeypots</a></li>
                        <li><a href="/ws/drones/client">Clients</a></li>
                        <li><a href="/ws/drones/unassigned">Unassigned</a></li>

                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="icon-list"></i> Bait
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/bait_users">Credentials</a></li>
                    </ul>
                </li>
                <li class="divider-vertical"></li>
            </ul>
            <ul class="nav pull-right">
                <a class="btn btn-link" href="/settings">Settings <i class="icon-wrench"></i></a>
                <a class="btn btn-link" href="/logout">{{ user.nickname }} <i class="icon-signout"></i></a>
            </ul>
        </div>
    </div>
    {% endblock navbar %}
    {% block content %}{% endblock content %}
</div>
{% endblock body %}
</body>
{% block footer %}
<footer class="container text-center">
    <div class="well">©2016,
        <a href="http://www.honeynet.org/">The Honeynet Project</a>
    </div>
</footer>
{% endblock footer %}
{% endblock html %}
</html>
