{% extends "admin:admin/base_site.html" %} {% load static compress %} {% comment %} * Set verbose site name as title. * Load Bootstrap and ICEkit dashboard CSS and JS. * Load jQuery into global namespace, because Django removes it and some code expects it. * Add branding. {% endcomment %} {% load static compress %} {% block title %}{{ title }} | {{ SITE_NAME }}{% endblock %} {% block extrastyle %} {% compress css %} {# Bootstrap, then default admin styles, then our styles. #} {# This avoids overriding the admin with Bootstrap, and allows us to override anything. #} {% endcompress %} {% endblock %} {% block extrahead %} {% compress js %} {% endcompress %} {% endblock %} {% block blockbots %}{# hackily ensuring our js loads last, so we can monkey-patch fluent's JS #} {% compress js %} {% endcompress %} {% endblock %} {% block branding %} Site Admin {% if "staging" in SITE_NAME.lower %} staging {% elif "test" in SITE_NAME.lower %} test {% elif "demo" in SITE_NAME.lower %} demo {% endif %} {% endblock %} {% block footer %} {% endblock %}
staging
test
demo