{% load i18n %}
{% load l10n %}
{% load staticfiles %}
{% get_current_language as lang %}
<!DOCTYPE html>
<html lang="{{lang}}">
  <head>
    <meta charset="utf-8">
    <title>{% block title %}Firewall GUI{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400&amp;subset=latin,latin-ext' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">
    <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" />
    <style type="text/css">
    body {
      padding-top:40px;
    }

    /* note: this doesn't really work */
    a i:hover {
        text-decoration: none;
    }

    footer {
        margin-top: 45px;
    }

    .messagelist {
        margin-top: 25px;
    }
    </style>

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--<link href="{% static "css/network.css" %}" rel="stylesheet">-->
    {% block extra_css %}{% endblock %}
  </head>
  <body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-header">  
          <a class="navbar-brand" href="{% url network.index %}">CIRCLE Network</a>
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div><!-- .navbar-header -->
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
             {% include "network/menu.html" %}
            </ul>
        </div><!-- .collapse .navbar-collapse -->
    </div><!-- navbar navbar-inverse navbar-fixed-top -->
    <div class="container">
        {% block messages %}
        {% if messages %}
        <div class="messagelist">
        {% for message in messages %}
        <div class="alert
            {% if message.tags %} alert-{% if message.tags == "error" %}danger{% else %}{{ message.tags }}{% endif %}{% endif %}">
            {{ message }}
        </div>
        {% endfor %}
        </div>
        {% endif %}
        {% endblock messages %}
        {% block content %}
        <div class="alert-block">This is an abstract base template.</div>
        {% endblock %}
    </div><!-- .container -->

    <div class="footer-container container">
        <footer>
            <p class="pull-right"><a href="#">Vissza az oldal tetejére</a></p>
            <p>&copy; 2013 BME Közigazgatási Informatikai Központ
        </footer>
    </div><!-- .footer-container .container -->

    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="{% url network.js_catalog %}"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
    <!--<script src="{% static "js/select2-3.4.0/select2.min.js" %}"></script>-->
    <script src="{% static "js/network.js" %}"></script>
    <script>
    {% block extra_js %}
    {% endblock %}
    </script>
    {% block extra_etc %}
    {% endblock %}
  </body>
</html>
