2021-10-12 12:27:12 -04:00
|
|
|
{% extends 'generic/object.html' %}
|
|
|
|
{% load helpers %}
|
|
|
|
{% load plugins %}
|
2021-12-13 15:36:51 -05:00
|
|
|
{% load render_table from django_tables2 %}
|
2021-10-12 12:27:12 -04:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col col-md-6">
|
|
|
|
<div class="card">
|
2021-10-12 17:02:53 -04:00
|
|
|
<h5 class="card-header">Wireless LAN</h5>
|
2021-10-12 12:27:12 -04:00
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
2021-10-12 17:02:53 -04:00
|
|
|
<th scope="row">SSID</th>
|
|
|
|
<td>{{ object.ssid }}</td>
|
2021-10-12 12:27:12 -04:00
|
|
|
</tr>
|
2021-10-13 16:40:12 -04:00
|
|
|
<tr>
|
|
|
|
<td>Group</td>
|
|
|
|
<td>
|
|
|
|
{% if object.group %}
|
|
|
|
<a href="{{ object.group.get_absolute_url }}">{{ object.group }}</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="text-muted">None</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-10-12 12:27:12 -04:00
|
|
|
<tr>
|
|
|
|
<th scope="row">Description</th>
|
|
|
|
<td>{{ object.description|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">VLAN</th>
|
|
|
|
<td>
|
|
|
|
{% if object.vlan %}
|
|
|
|
<a href="{{ object.vlan.get_absolute_url }}">{{ object.vlan }}</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="text-muted">None</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-21 13:19:52 -04:00
|
|
|
{% include 'inc/panels/tags.html' %}
|
2021-10-12 12:27:12 -04:00
|
|
|
{% plugin_left_page object %}
|
|
|
|
</div>
|
|
|
|
<div class="col col-md-6">
|
2021-10-21 13:19:52 -04:00
|
|
|
{% include 'wireless/inc/authentication_attrs.html' %}
|
|
|
|
{% include 'inc/panels/custom_fields.html' %}
|
2021-10-12 12:27:12 -04:00
|
|
|
{% plugin_right_page object %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2021-10-14 09:48:12 -04:00
|
|
|
<div class="col col-md-12">
|
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">Attached Interfaces</h5>
|
2021-12-13 15:36:51 -05:00
|
|
|
<div class="card-body table-responsive">
|
|
|
|
{% render_table interfaces_table 'inc/table.html' %}
|
2021-10-14 09:48:12 -04:00
|
|
|
</div>
|
2021-10-12 12:27:12 -04:00
|
|
|
</div>
|
2021-10-14 09:48:12 -04:00
|
|
|
{% include 'inc/paginator.html' with paginator=interfaces_table.paginator page=interfaces_table.page %}
|
|
|
|
{% plugin_full_width_page object %}
|
|
|
|
</div>
|
2021-10-12 12:27:12 -04:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|