{% load utility i18n %} {% block title %} {% if view.title %} {# Managed properly by the view #} {{ view.title }} {% else %} {# By hand in the template #} {% block subtitle %}{% endblock subtitle%} {% block sitetitle %}{% endblock sitetitle%} {% endif %} {% endblock title %} {% block css %} {# jqueryui: "smoothness" theme #} {# OpenLayers: manually load the OpenLayers css so we can control the load order #} {# pass theme:null to the OpenLayers.Map instance to prevent OL from autoloading it #} {# daterangepicker #} {# Twitter bootstrap, but with an included #} {# lizard-bootstrap.less to overrides bootstrap defaults. #} {# Bootstrap must be below jqueryui to avoid overriding. #} {# Sprites: all icons (print, info, etc) in one cacheable image. #} {# Used for the Lizard Awesome box (aka new google maps) #} {% endblock css %} {% block javascript-in-head %} {# Should probably remain unused. #} {% endblock javascript-in-head %} {% block head-extras %} {# Your own totally-unmanaged per-template extra css/javascript/links #} {% endblock head-extras %} {% block modal %} {% include 'lizard_ui/modal_login.html' %} {% include 'lizard_ui/change_language.html' %} {% endblock %} {% block awesome %}
{% endblock awesome %}
{% block page %} {# Note: KEEP ME #} {% block secondary-sidebar %} {% endblock %} {% block header %}
{% comment breadcrumb %} {% endcomment %}
{% endblock header %} {% comment %} Note: keep the following inline style tags! These are controlled by JavaScript and not by the CSS, so they are inline by definition. {% endcomment %} {% block main-area %}
{% block content %} {% endblock content %}
{% endblock main-area %} {% endblock page %}
{# Ajax calls need a CSRF token cookie, and this line sends one as a side effect #} {% block javascript %} {# Excanvas, for IE7 and IE8 support for HTML5 Canvas. #} {# Note that weird + madness inside the closing scirpt tag above... #} {# See http://stackoverflow.com/q/236073/27401 #} {% endblock javascript %} {% block map-javascript %} {# For lizard-map's wms handling #} {% endblock map-javascript %} {% if view.google_tracking_code %} {% endif %} {% if view.gauges_site_id %} {% endif %} {% block bottom-extras %} {# Your own totally-unmanaged per-template extra css/javascript/links #} {% endblock bottom-extras %}