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

Shrink & center form section titles

This commit is contained in:
jeremystretch
2021-07-22 12:31:50 -04:00
parent 7bfc66e218
commit 84479925bf
13 changed files with 40 additions and 40 deletions

View File

@@ -15,7 +15,7 @@
<div class="row">
<div class="col col-md-6 offset-md-3">
<div class="field-group">
<h4>Device Selection</h4>
<h5 class="text-center">Device Selection</h5>
{% render_form form %}
</div>
</div>

View File

@@ -3,7 +3,7 @@
{% block form %}
<div class="field-group">
<h4>Interface</h4>
<h5 class="text-center">Interface</h5>
{% if form.instance.virtual_machine %}
<div class="row mb-3">
<label class="col-sm-3 col-form-label required" for="id_device">Virtual Machine</label>
@@ -22,14 +22,14 @@
</div>
<div class="field-group">
<h4>802.1Q Switching</h4>
<h5 class="text-center">802.1Q Switching</h5>
{% render_field form.mode %}
{% render_field form.untagged_vlan %}
{% render_field form.tagged_vlans %}
</div>
{% if form.custom_fields %}
<div class="field-group">
<h4>Custom Fields</h4>
<h5 class="text-center">Custom Fields</h5>
{% render_custom_fields form %}
</div>
{% endif %}