mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Reduce vetical space at top of dashboard
This commit is contained in:
parent
6439a91f11
commit
58628aa086
@ -173,20 +173,28 @@ Blocks:
|
||||
|
||||
|
||||
{# Page body #}
|
||||
{% block page %}
|
||||
<div class="page-body">
|
||||
<div class="container-xl tab-content py-3">
|
||||
|
||||
{# Page content #}
|
||||
{# TODO: Remove content-wrapper block #}
|
||||
{% block content-wrapper %}
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
{# /Page content #}
|
||||
|
||||
{# Bottom banner #}
|
||||
{% if config.BANNER_BOTTOM %}
|
||||
<div class="text-center mx-3 mt-2">
|
||||
{{ config.BANNER_BOTTOM|safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{# /Bottom banner #}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock page %}
|
||||
{# /Page body #}
|
||||
|
||||
{# Page footer #}
|
||||
|
@ -23,9 +23,9 @@
|
||||
|
||||
{% block title %}{% trans "Home" %}{% endblock %}
|
||||
|
||||
{% block content-wrapper %}
|
||||
{% block page %}
|
||||
{# Render the user's customized dashboard #}
|
||||
<div class="grid-stack" id="dashboard">
|
||||
<div class="grid-stack m-2" id="dashboard">
|
||||
{% for widget in dashboard %}
|
||||
{% include 'extras/dashboard/widget.html' %}
|
||||
{% endfor %}
|
||||
@ -65,7 +65,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content-wrapper %}
|
||||
{% endblock page %}
|
||||
|
||||
{% block modals %}
|
||||
{% include 'inc/htmx_modal.html' %}
|
||||
|
Loading…
Reference in New Issue
Block a user