{% extends 'admin/base.html' %} {% block tail_js %} {{ super() }} {% if session.get('xadm_edit_mode', False) %} {% endif %} {% endblock %} {% block access_control %} {{ super() }} {% if current_user.is_authenticated() %}
{% else %} {% endif %} {% endblock %} {% block page_body %} {{ super() }} {% if request.endpoint == 'admin.index' %}You are not authorized superuser!
Welcome to xAdmin.
Warning: Only authorized people are allowed to be here.