From 259e13ad6f5a71422d2d05b50bcfa07574bbdd68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Thu, 6 Oct 2022 15:21:37 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=B5es=20em=20layout=20de=20aprese?= =?UTF-8?q?nta=C3=A7=C3=A3o=20de=20dados?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/ocorrencias/css/painel_ocorrencias.css | 4 ++++ .../ocorrencias/templates/ocorrencias/painel_snippet.html | 7 +++++++ sigi/static/css/dashboard.css | 4 ++++ sigi/templates/material/admin/index.html | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/sigi/apps/ocorrencias/static/ocorrencias/css/painel_ocorrencias.css b/sigi/apps/ocorrencias/static/ocorrencias/css/painel_ocorrencias.css index 998b031..6e57638 100644 --- a/sigi/apps/ocorrencias/static/ocorrencias/css/painel_ocorrencias.css +++ b/sigi/apps/ocorrencias/static/ocorrencias/css/painel_ocorrencias.css @@ -53,6 +53,10 @@ commenter-image { border-radius: 12px; } +.card-inbox p { + margin-bottom: 6px !important; +} + .inbox-title { font-weight: bold; text-transform: uppercase; diff --git a/sigi/apps/ocorrencias/templates/ocorrencias/painel_snippet.html b/sigi/apps/ocorrencias/templates/ocorrencias/painel_snippet.html index 8bef5dd..288e18b 100644 --- a/sigi/apps/ocorrencias/templates/ocorrencias/painel_snippet.html +++ b/sigi/apps/ocorrencias/templates/ocorrencias/painel_snippet.html @@ -67,6 +67,13 @@ {{ oficina.nome }} {% endfor %}

+

+ {% trans "Oficinas autorizadas:" %} + {% for oficina in ocorrencia.evento_set.all %} + {{ oficina }} + {% empty %} + {% trans "Nenhuma" %} + {% endfor %}

{% trans "Senadores selecionados:" %} {% for senador in ocorrencia.get_infos_senadores %} diff --git a/sigi/static/css/dashboard.css b/sigi/static/css/dashboard.css index b9dc7c7..b969be8 100644 --- a/sigi/static/css/dashboard.css +++ b/sigi/static/css/dashboard.css @@ -118,6 +118,10 @@ table.numeros>tbody>tr>td { color: var(--primary); } +.dashtab { + width: 100%; +} + .dash-modal-header { font-size: 1.2em; display: block; diff --git a/sigi/templates/material/admin/index.html b/sigi/templates/material/admin/index.html index dfb5bdd..715f450 100644 --- a/sigi/templates/material/admin/index.html +++ b/sigi/templates/material/admin/index.html @@ -47,7 +47,7 @@ {% for dash in sigi_dashes %} -

+
{% include 'sigi/snippets/dashboard.html' %}
{% endfor %}