Browse Source

Melhorias na geração de relatórios

dependabot/pip/requirements/djangorestframework-3.15.2
Sesóstris Vieira 7 months ago
parent
commit
d0d4a8948b
  1. 7
      sigi/apps/utils/templates/utils/report/report.html
  2. 2
      sigi/templates/pdf/base_report.html

7
sigi/apps/utils/templates/utils/report/report.html

@ -26,6 +26,7 @@
{% endblock %}
{% block content %}
{% block form %}
{% if form %}
<form class="row">
<div class="col s12">
@ -59,11 +60,17 @@
</ul>
</div>
{% endif %}
{% endblock form %}
{% block data %}
{% include "utils/report/report_items_snippet.html" with mode="html" %}
{% endblock data %}
{% endblock %}
{% block footer %}
{{ block.super }}
{% if form %}
{{ form.media }}
{% endif %}
<script>
$(document).ready(function(){
M.FloatingActionButton.init($('.fixed-action-btn'), {hoverEnabled: false});

2
sigi/templates/pdf/base_report.html

@ -43,6 +43,8 @@ th,td {
th {
background-color: #007433;
color: white;
font-weight: 600;
text-transform: uppercase;
}
tr:nth-child(even) {
background-color: #d2d2d2;

Loading…
Cancel
Save