From 0c4b3601b267177c61806eb5024a1fd85abc32e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 2 Apr 2024 11:47:20 -0300 Subject: [PATCH] Adiciona separadores no menu do sistema --- sigi/apps/home/templates/menus/menu.html | 12 ++++++++++++ sigi/static/css/dashboard.css | 3 +++ 2 files changed, 15 insertions(+) diff --git a/sigi/apps/home/templates/menus/menu.html b/sigi/apps/home/templates/menus/menu.html index ce8a41b..5d520f0 100644 --- a/sigi/apps/home/templates/menus/menu.html +++ b/sigi/apps/home/templates/menus/menu.html @@ -14,11 +14,23 @@ {% else %} {% url child.view_name as item_url %} {% endif %} + {% if 'before' in child.separator %} +
+ {% endif %} {{ child.title }} + {% if 'after' in child.separator %} +
+ {% endif %} {% else %} + {% if 'before' in child.separator %} +
+ {% endif %} + {% if 'after' in child.separator %} +
+ {% endif %} {% endif %} {% endfor %} diff --git a/sigi/static/css/dashboard.css b/sigi/static/css/dashboard.css index 5c74ced..9661302 100644 --- a/sigi/static/css/dashboard.css +++ b/sigi/static/css/dashboard.css @@ -130,4 +130,7 @@ table.numeros>tbody>tr>td { .xlsx-download { height: 24px; +} +.collapsible-body>hr { + height: 1px; } \ No newline at end of file