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

Enable attachment of wireless interfaces to SSIDs

This commit is contained in:
jeremystretch
2021-10-12 13:48:06 -04:00
parent 8b80b0c3df
commit 38f6d22d2d
9 changed files with 63 additions and 11 deletions

View File

@@ -258,6 +258,33 @@
</div>
</div>
{% endif %}
{% if object.is_wireless %}
<div class="card">
<h5 class="card-header">SSIDs</h5>
<div class="card-body">
<table class="table table-hover table-headings">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
{% for ssid in object.ssids.all %}
<tr>
<td>
<a href="{{ ssid.get_absolute_url }}">{{ ssid.name }}</a>
</td>
</tr>
{% empty %}
<tr>
<td colspan="3" class="text-muted">None</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endif %}
{% if object.is_lag %}
<div class="card">
<h5 class="card-header">LAG Members</h5>

View File

@@ -36,6 +36,7 @@
</div>
{% render_field form.rf_channel %}
{% render_field form.rf_channel_width %}
{% render_field form.ssids %}
</div>
{% endif %}