{% extends "reportcraft/base.html" %} {% load reportcraft %} {% load static %} {% block extra_css %} {{ block.super }} {% endblock %} {% block page-pretitle %}Edit Report{% endblock %} {% block page-title %} {% if report %}{{ report.title }}{% else %}Report Editor{% endif %} {% endblock %} {% block page-subtitle %} {% if report %}{{ object.description }}{% else %}Please select or add a new a report from the list{% endif %} {% endblock %} {% block page-tools %} {% tool_icon label='Reports' icon='list-details' %} {% tool_icon label='Sources' icon='database' %} {% if report %} {% tool_icon label='Preview' icon='live-view' %} {% tool_icon label='Edit' icon='pencil' %} {% tool_icon label='Delete' icon='trash-x' %} {% tool_icon label='Add Entry' icon='photo-plus' %} {% endif %} {% endblock %} {% block page-content %} {% if report %}
Add entries to the report and then configure them to select the fields to display. The entry position, specifies the ordering of entries within the report. The entry style can be used to control the layout.
{% for entry in entries %}
{{ entry | entry_html }}
{% endfor %}
{% endif %} {% endblock %} {% block report-off-canvas %} {% if show_sidebar %}{% include "reportcraft/off-canvas-list.html" with items=reports %}{% endif %} {% endblock %}