fixes display of report items on admin page

This commit is contained in:
Mouse Reeve 2021-03-09 10:08:02 -08:00
parent 21f199c548
commit ff624e33fa
3 changed files with 14 additions and 9 deletions

View file

@ -46,7 +46,7 @@
</ul> </ul>
{% endif %} {% endif %}
</nav> </nav>
<div class="column content"> <div class="column">
{% block panel %}{% endblock %} {% block panel %}{% endblock %}
</div> </div>
</div> </div>

View file

@ -1,14 +1,19 @@
{% extends 'components/card.html' %} {% extends 'components/card.html' %}
{% load i18n %} {% load i18n %}
{% block card-header %} {% block card-header %}
<h2 class="title is-4"> <h2 class="card-header-title has-background-white-ter is-block">
<a href="{% url 'settings-report' report.id %}">report title</a></h2> <a href="{% url 'settings-report' report.id %}">report title</a>
</h2>
{% endblock %} {% endblock %}
{% block card-content %} {% block card-content %}
<div class="block">
about this report about this report
</div>
{% endblock %} {% endblock %}
{% block card-footer %} {% block card-footer %}
<div class="card-footer-item">
footer footer
</div>
{% endblock %} {% endblock %}

View file

@ -15,13 +15,13 @@
</ul> </ul>
</div> </div>
<ul> <div class="block">
{% for report in reports %} {% for report in reports %}
<li class="card"> <div class="block">
{% include 'settings/report_preview.html' with report=report %} {% include 'settings/report_preview.html' with report=report %}
</li> </div>
{% endfor %} {% endfor %}
</ul> </div>
{% endblock %} {% endblock %}