1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Initial work on #5883

This commit is contained in:
jeremystretch
2021-10-25 14:42:20 -04:00
parent 61d2158f76
commit 82243732a1
18 changed files with 375 additions and 109 deletions

View File

@@ -58,9 +58,9 @@
</nav>
{% if settings.BANNER_TOP %}
{% if config.BANNER_TOP %}
<div class="alert alert-info text-center mx-3" role="alert">
{{ settings.BANNER_TOP|safe }}
{{ config.BANNER_TOP|safe }}
</div>
{% endif %}
@@ -98,9 +98,9 @@
{% endblock %}
</div>
{% if settings.BANNER_BOTTOM %}
{% if config.BANNER_BOTTOM %}
<div class="alert alert-info text-center mx-3" role="alert">
{{ settings.BANNER_BOTTOM|safe }}
{{ config.BANNER_BOTTOM|safe }}
</div>
{% endif %}

View File

@@ -7,9 +7,9 @@
<main class="login-container text-center">
{# Login banner #}
{% if settings.BANNER_LOGIN %}
{% if config.BANNER_LOGIN %}
<div class="alert alert-secondary mw-90 mw-md-75 mw-lg-80 mw-xl-75 mw-xxl-50" role="alert">
{{ settings.BANNER_LOGIN|safe }}
{{ config.BANNER_LOGIN|safe }}
</div>
{% endif %}