{% block doctype %}<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">{% endblock %}
{% load staticfiles %}
<html>
    <head>
        {% block meta_http_equiv %}
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        {% endblock %}
        {% block title %}
            <title>{{ title }}</title>
        {% endblock %}

        {% block css %}
            <link rel="stylesheet" type="text/css"
                href="{% block cssurl %}{% static css_staticpath %}{% endblock %}" />
        {% endblock %}

        {% block extjs %}
            {% if EXTJS4_DEBUG %}
                <script type="text/javascript" src="{% static EXTJS4_DEBUGFILE %}"></script>
                <script type="text/javascript">
                    Ext.Loader.setConfig({
                        enabled: true
                    });
                </script>
            {% else %}
                <script type="text/javascript" src="{% static EXTJS4_PRODFILE %}"></script>
                <script type="text/javascript">
                    Ext.Loader.setConfig({
                        enabled: false
                    });
                </script>
            {% endif %}
        {% endblock %}

        {% block app %}
            {% if EXTJS4_DEBUG %}
                <script type="text/javascript" src="{% static app_staticpath %}"></script>
            {% else %}
                <script type="text/javascript" src="{% static appall_staticpath %}"></script>
            {% endif %}
        {% endblock %}
    </head>
    <body></body>
</html>
