{% extends 'initializr.html' %}

{% block title %}Page title{% endblock %}

{% block siteName %}Media Player{% endblock %}

{% block messages %}
    {% for msg in messages %}
        <div class="alert alert-{{ msg.type }}">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            <strong>{{ msg.type|capitalize }}:</strong>
            {{ msg.message }}
        </div>
    {% endfor %}
{% endblock messages %}

{% block scriptVars %}
    <script>
        {% autoescape false %}
            var namespace = {{ namespace|json }};
        {% endautoescape %}
    </script>
{% endblock %}

{% block footer %}
    {% if user %}
        <footer class="footer">
            <p>
            Logged in as: <strong>{{ user.username }}</strong><br>
            <a href="{{ namespace }}/logout">Log out</a>
            </p>
        </footer>
    {% endif %}
{% endblock %}

{% extends 'initializr.html' %}

{% block title %}Page title{% endblock %}

{% block siteName %}<a class="brand" href="{{ namespace }}/">Media Player</a>{% endblock %}

{% block messages %}
    {% for msg in messages %}
        <div class="alert alert-{{ msg.type }}">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            <strong>{{ msg.type|capitalize }}:</strong>
            {{ msg.message }}
        </div>
    {% endfor %}
{% endblock messages %}

{% block scriptVars %}
    <script>
        {% autoescape false %}
            var namespace = {{ namespace|json }};
        {% endautoescape %}
    </script>
{% endblock %}

{% block footer %}
    {% if user %}
        <footer class="footer">
            <p>
            Logged in as: <strong>{{ user.username }}</strong><br>
            <a href="{{ namespace }}/logout">Log out</a>
            </p>
        </footer>
    {% endif %}
{% endblock %}

Fix header area on login page
Fix header area on login page
