mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-21 12:52:21 -06:00
Add RF channel fields to Interface
This commit is contained in:
@@ -39,6 +39,16 @@
|
||||
<th scope="row">Type</th>
|
||||
<td>{{ object.get_type_display }}</td>
|
||||
</tr>
|
||||
{% if object.is_wireless %}
|
||||
<tr>
|
||||
<th scope="row">Channel</th>
|
||||
<td>{{ object.get_rf_channel_display|placeholder }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Channel Width</th>
|
||||
<td>{{ object.get_rf_channel_width_display|placeholder }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th scope="row">Enabled</th>
|
||||
<td>
|
||||
|
||||
@@ -29,6 +29,16 @@
|
||||
{% render_field form.mark_connected %}
|
||||
</div>
|
||||
|
||||
{% if form.instance.is_wireless %}
|
||||
<div class="field-group my-5">
|
||||
<div class="row mb-2">
|
||||
<h5 class="offset-sm-3">Wireless</h5>
|
||||
</div>
|
||||
{% render_field form.rf_channel %}
|
||||
{% render_field form.rf_channel_width %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="field-group my-5">
|
||||
<div class="row mb-2">
|
||||
<h5 class="offset-sm-3">802.1Q Switching</h5>
|
||||
|
||||
Reference in New Issue
Block a user