{% load i18n %}{% load static %}<!DOCTYPE html>
<html lang="{{ request.LANGUAGE_CODE }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{% block title %}{% trans "Site administration" %}{% endblock title %} | django-admin2</title>
    {% block css %}
        <link href="{% static "djadmin2theme_bootstrap3/libs/bootstrap/css/bootstrap.min.css" %}" rel="stylesheet" media="screen">
        <link href="{% static "djadmin2theme_bootstrap3/libs/bootstrap/css/bootstrap-theme.min.css" %}" rel="stylesheet" media="screen">
        <link href="{% static "djadmin2theme_bootstrap3/libs/font-awesome/css/font-awesome.min.css" %}" rel="stylesheet" media="screen">
        <link href="{% static "djadmin2theme_bootstrap3/css/base.css" %}" rel="stylesheet" media="screen">
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="{% static "djadmin2theme_bootstrap3/libs/html5shiv.js" %}"></script>
            <script src="{% static "djadmin2theme_bootstrap3/libs/respond.min.js" %}"></script>
        <![endif]-->
    {% endblock css %}
</head>
<body>
<div id="wrapper" class="{% block wrapper_class %}no-sidebar{% endblock wrapper_class %}">
    {% block navbar %}
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">{% trans "Toggle navigation" %}</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="{% url 'admin2:dashboard' %}">Django-Admin2</a>
            </div>

            <ul class="nav navbar-top-links navbar-right">
                <li><a tabindex="2" href="{% url 'admin2:api_index' %}">{% trans "API" %}</a></li>

                {% if docsroot %}
                    <li><a tabindex="3" href="{{ docsroot }}">{% trans 'Documentation' %}</a></li>
                {% endif %}

                {% if user.is_authenticated %}
                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                            {% if user.get_full_name %}
                                {{ user.get_full_name }}
                            {% else %}
                                {% blocktrans with user=user.username %}Logged in as {{ user }}{% endblocktrans %}
                            {% endif %}
                            <i class="fa fa-caret-down"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-user">
                            {% if user.has_usable_password %}
                                <li>
                                    <a href="{% url 'admin2:password_change' user.id %}">
                                        <i class="fa fa-gear fa-fw"></i> {% trans "Change password" %}
                                    </a>
                                </li>
                                <li class="divider"></li>
                            {% endif %}
                            <li>
                                <a href="{% url 'admin2:logout' %}">
                                    <i class="fa fa-sign-out fa-fw"></i> {% trans "Log out" %}
                                </a>
                            </li>
                        </ul>
                    </li>
                {% endif %}
            </ul>

            {% block sidebar %}{% endblock sidebar %}
        </nav>
    {% endblock navbar %}

    <div{% block page_wrapper_attrs %} id="page-wrapper"{% endblock %}>
        {% block breacrumbs %}
            <div class="row">
                <ol class="breadcrumb">
                    {% block breadcrumbs %}
                        <li class="active">{% trans "Home" %}</li>
                    {% endblock breadcrumbs %}
                </ol>
            </div>
        {% endblock breacrumbs %}

        <div class="row">
            <div class="col-lg-12">
                {% block page_header %}
                    {% if messages %}
                        <ul class="messages">
                            {% for message in messages %}
                                <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                            {% endfor %}
                        </ul>
                    {% endif %}
                    <h1 class="page-header">
                    {% block page_title %}{% trans "Site administration" %}{% endblock page_title %}{% block page_title_link %}{% endblock page_title_link %}
                    </h1>
                {% endblock page_header %}
                {% block content %}{% endblock content %}
            </div>
        </div>
    </div>
</div>

{% block javascript %}
    <script src="{% static "djadmin2theme_bootstrap3/libs/jquery.min.js" %}"></script>
    <script src="{% static "djadmin2theme_bootstrap3/libs/bootstrap/js/bootstrap.min.js" %}"></script>
    <script src="{% static "djadmin2theme_bootstrap3/js/sb-admin-2.js" %}"></script>
    <script src="{% static "djadmin2theme_bootstrap3/js/base.js" %}"></script>
{% endblock javascript %}
</body>
</html>
