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 #}
|
{# Page body #}
|
||||||
|
{% block page %}
|
||||||
<div class="page-body">
|
<div class="page-body">
|
||||||
<div class="container-xl tab-content py-3">
|
<div class="container-xl tab-content py-3">
|
||||||
|
|
||||||
|
{# Page content #}
|
||||||
{# TODO: Remove content-wrapper block #}
|
{# TODO: Remove content-wrapper block #}
|
||||||
{% block content-wrapper %}
|
{% block content-wrapper %}
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{# /Page content #}
|
||||||
|
|
||||||
{# Bottom banner #}
|
{# Bottom banner #}
|
||||||
{% if config.BANNER_BOTTOM %}
|
{% if config.BANNER_BOTTOM %}
|
||||||
<div class="text-center mx-3 mt-2">
|
<div class="text-center mx-3 mt-2">
|
||||||
{{ config.BANNER_BOTTOM|safe }}
|
{{ config.BANNER_BOTTOM|safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{# /Bottom banner #}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock page %}
|
||||||
{# /Page body #}
|
{# /Page body #}
|
||||||
|
|
||||||
{# Page footer #}
|
{# Page footer #}
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
{% block title %}{% trans "Home" %}{% endblock %}
|
{% block title %}{% trans "Home" %}{% endblock %}
|
||||||
|
|
||||||
{% block content-wrapper %}
|
{% block page %}
|
||||||
{# Render the user's customized dashboard #}
|
{# Render the user's customized dashboard #}
|
||||||
<div class="grid-stack" id="dashboard">
|
<div class="grid-stack m-2" id="dashboard">
|
||||||
{% for widget in dashboard %}
|
{% for widget in dashboard %}
|
||||||
{% include 'extras/dashboard/widget.html' %}
|
{% include 'extras/dashboard/widget.html' %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -65,7 +65,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock content-wrapper %}
|
{% endblock page %}
|
||||||
|
|
||||||
{% block modals %}
|
{% block modals %}
|
||||||
{% include 'inc/htmx_modal.html' %}
|
{% include 'inc/htmx_modal.html' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user