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:
@@ -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>
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user