{% extends "wagtailadmin/skeleton.html" %}
{% load staticfiles i18n %}

{% block titletag %}{% trans 'User bar' %}{% endblock %}
{% block css %}
    <link rel="stylesheet" href="{% static 'wagtailadmin/css/userbar.css' %}" type="text/css" />
{% endblock %}

{% block furniture %}
    <div class="wagtail-userbar">
        <nav>
            <a href="{% url 'wagtailadmin_home' %}" target="_parent" class="home icon icon-wagtail" title="{% trans 'Go to Wagtail admin interface' %}">{% trans 'Go to Wagtail admin interface' %}</a>
            <ul>
                {% for item in items %}
                    {{ item|safe }}
                {% endfor %}
            </ul>
        </nav>
    </div>
{% endblock %}

{% block js %}
    <script src="{% static 'wagtailadmin/js/userbar.js' %}"></script>
{% endblock %}
