Skip to content

Commit 14fc37a

Browse files
committed
Closes #7661: Remove forced styling of custom banners
1 parent 85f9690 commit 14fc37a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/release-notes/version-3.1.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Enhancements
66

7+
* [#7661](https://github.com/netbox-community/netbox/issues/7661) - Remove forced styling of custom banners
78
* [#7665](https://github.com/netbox-community/netbox/issues/7665) - Add toggle to show only available child prefixes
89
* [#8057](https://github.com/netbox-community/netbox/issues/8057) - Dynamic object tables using HTMX
910
* [#8080](https://github.com/netbox-community/netbox/issues/8080) - Link to NAT IPs for device/VM primary IPs

netbox/templates/base/layout.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</nav>
6060

6161
{% if config.BANNER_TOP %}
62-
<div class="alert alert-info text-center mx-3" role="alert">
62+
<div class="text-center mx-3">
6363
{{ config.BANNER_TOP|safe }}
6464
</div>
6565
{% endif %}
@@ -99,7 +99,7 @@ <h1 class="h2 w-100">{% block title %}{% endblock title %}</h1>
9999
</div>
100100

101101
{% if config.BANNER_BOTTOM %}
102-
<div class="alert alert-info text-center mx-3" role="alert">
102+
<div class="text-center mx-3">
103103
{{ config.BANNER_BOTTOM|safe }}
104104
</div>
105105
{% endif %}

netbox/templates/login.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
{# Login banner #}
1010
{% if config.BANNER_LOGIN %}
11-
<div class="alert alert-secondary mw-90 mw-md-75 mw-lg-80 mw-xl-75 mw-xxl-50" role="alert">
11+
<div class="mw-90 mw-md-75 mw-lg-80 mw-xl-75 mw-xxl-50">
1212
{{ config.BANNER_LOGIN|safe }}
1313
</div>
1414
{% endif %}

0 commit comments

Comments
 (0)