{% extends "theme_one.html" %} {% load i18n static common crispy_forms_tags utils_tags django_tables2 %} {% block head_title %}{{ view.page_header }}{% endblock %} {% block head_media_css %} {% if filter %} {{ filter.form.media.css }} {% endif %} {% if dashboard_layout %} {{ dashboard_layout.media.css }} {% endif %} {{ block.super }} {% endblock %} {% block body_content %} {{ block.super }}

{{ view.page_header }}

{% if view.get_back_url %} {% trans 'Back' %} {% endif %} {% if view.add_url %} {% trans 'Add' %} {% endif %} {% if view.get_extra_buttons %} {% for btn in view.get_extra_buttons %} {{ btn.text }} {% endfor %} {% endif %}
{% if filter %}
{% crispy filter.form %}
{% endif %} {% with view.get_consoles_data as console_data %}
Sum Unique Consoles
{{ console_data.sum_console_number }}
{% endwith %} {% if form %} {% include 'generic_views/partial/form_view.parial.html' %} {% endif %} {% if table %}
{% include 'generic_views/partial/table_index_count.html' %} {% render_table table 'generic_views/partial/list_view_table.partial.html' %}
{% endif %}
{% endblock body_content %} {% block body_js %} {{ block.super }} {% if dashboard_layout %} {{ dashboard_layout.media.js }} {% endif %} {% if filter %} {{ filter.form.media.js }} {% endif %} {% endblock %}