Skip to content

Commit

Permalink
fix: Update card headers to h2 elements
Browse files Browse the repository at this point in the history
Updated all card headers from h5 to h2 in various templates for better
consistency with NetBox version 4.1.
  • Loading branch information
pheus committed Oct 8, 2024
1 parent fedac1a commit a18e157
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="row">
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "ACI Application Profile" %}</h5>
<h2 class="card-header">{% trans "ACI Application Profile" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ACI Tenant" %}</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="row">
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "ACI Bridge Domain" %}</h5>
<h2 class="card-header">{% trans "ACI Bridge Domain" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ACI Tenant" %}</th>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h5 class="card-header">{% trans "ACI Bridge Domain" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Routing Settings" %}</h5>
<h2 class="card-header">{% trans "Routing Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Unicast Routing enabled" %}</th>
Expand All @@ -79,7 +79,7 @@ <h5 class="card-header">{% trans "Routing Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Forwarding Method Settings" %}</h5>
<h2 class="card-header">{% trans "Forwarding Method Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ARP Flooding enabled" %}</th>
Expand All @@ -104,7 +104,7 @@ <h5 class="card-header">{% trans "Forwarding Method Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Endpoint Learning Settings" %}</h5>
<h2 class="card-header">{% trans "Endpoint Learning Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "IP Data Plane Learning enabled" %}</th>
Expand All @@ -121,7 +121,7 @@ <h5 class="card-header">{% trans "Endpoint Learning Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Multicast Settings" %}</h5>
<h2 class="card-header">{% trans "Multicast Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "PIM (Multicast) IPv4" %}</th>
Expand Down Expand Up @@ -153,13 +153,13 @@ <h5 class="card-header">{% trans "Multicast Settings" %}</h5>
</div>
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">Subnets</h5>
<h2 class="card-header">Subnets</h2>
<div class="table-responsive">
{% render_table subnets_table %}
</div>
</div>
<div class="card">
<h5 class="card-header">{% trans "Additional Settings" %}</h5>
<h2 class="card-header">{% trans "Additional Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "DHCP Labels" %}</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "ACI Bridge Domain Subnet" %}</h5>
<h2 class="card-header">{% trans "ACI Bridge Domain Subnet" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ACI Tenant" %}</th>
Expand Down Expand Up @@ -56,7 +56,7 @@ <h5 class="card-header">{% trans "ACI Bridge Domain Subnet" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Scope Settings" %}</h5>
<h2 class="card-header">{% trans "Scope Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Advertised externally enabled" %}</th>
Expand All @@ -69,7 +69,7 @@ <h5 class="card-header">{% trans "Scope Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Subnet Control Settings" %}</h5>
<h2 class="card-header">{% trans "Subnet Control Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "IGMP Querier enabled" %}</th>
Expand All @@ -82,7 +82,7 @@ <h5 class="card-header">{% trans "Subnet Control Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Endpoint Learning Settings" %}</h5>
<h2 class="card-header">{% trans "Endpoint Learning Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "IP Data Plane Learning enabled" %}</th>
Expand All @@ -91,7 +91,7 @@ <h5 class="card-header">{% trans "Endpoint Learning Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "IPv6 Settings" %}</h5>
<h2 class="card-header">{% trans "IPv6 Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ND RA enabled" %}</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "ACI Endpoint Group" %}</h5>
<h2 class="card-header">{% trans "ACI Endpoint Group" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ACI Tenant" %}</th>
Expand Down Expand Up @@ -48,7 +48,7 @@ <h5 class="card-header">{% trans "ACI Endpoint Group" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Policy Enforcement Settings" %}</h5>
<h2 class="card-header">{% trans "Policy Enforcement Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Preferred Group Member enabled" %}</th>
Expand All @@ -61,7 +61,7 @@ <h5 class="card-header">{% trans "Policy Enforcement Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Endpoint Forwarding Settings" %}</h5>
<h2 class="card-header">{% trans "Endpoint Forwarding Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Flood in Encapsulation enabled" %}</th>
Expand All @@ -74,7 +74,7 @@ <h5 class="card-header">{% trans "Endpoint Forwarding Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Quality of Service (QoS) Settings" %}</h5>
<h2 class="card-header">{% trans "Quality of Service (QoS) Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "QoS Class" %}</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="row">
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "ACI Tenant" %}</h5>
<h2 class="card-header">{% trans "ACI Tenant" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Name Alias" %}</th>
Expand Down
10 changes: 5 additions & 5 deletions netbox_aci_plugin/templates/netbox_aci_plugin/acivrf.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="row">
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "ACI VRF" %}</h5>
<h2 class="card-header">{% trans "ACI VRF" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "ACI Tenant" %}</th>
Expand Down Expand Up @@ -44,7 +44,7 @@ <h5 class="card-header">{% trans "ACI VRF" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Policy Control Settings" %}</h5>
<h2 class="card-header">{% trans "Policy Control Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Policy Control Enforcement Direction" %}</th>
Expand All @@ -65,7 +65,7 @@ <h5 class="card-header">{% trans "Policy Control Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Endpoint Learning Settings" %}</h5>
<h2 class="card-header">{% trans "Endpoint Learning Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "IP Data Plane Learning" %}</th>
Expand All @@ -74,7 +74,7 @@ <h5 class="card-header">{% trans "Endpoint Learning Settings" %}</h5>
</table>
</div>
<div class="card">
<h5 class="card-header">{% trans "Multicast Settings" %}</h5>
<h2 class="card-header">{% trans "Multicast Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "PIM (Multicast) IPv4" %}</th>
Expand All @@ -90,7 +90,7 @@ <h5 class="card-header">{% trans "Multicast Settings" %}</h5>
</div>
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">{% trans "Additional Settings" %}</h5>
<h2 class="card-header">{% trans "Additional Settings" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "DNS Labels" %}</th>
Expand Down

0 comments on commit a18e157

Please sign in to comment.