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 %}
|
2023-07-29 03:30:25 +07:00
|
|
|
{% load i18n %}
|
2021-10-12 12:27:12 -04:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col col-md-6">
|
2022-06-27 11:30:52 -04:00
|
|
|
<div class="card">
|
2023-07-29 03:30:25 +07:00
|
|
|
<h5 class="card-header">{% trans "Wireless LAN" %}</h5>
|
2024-01-17 16:25:42 -05:00
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "SSID" %}</th>
|
|
|
|
<td>{{ object.ssid }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Group" %}</th>
|
|
|
|
<td>{{ object.group|linkify|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Status" %}</th>
|
|
|
|
<td>{% badge object.get_status_display bg_color=object.get_status_color %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Description" %}</th>
|
|
|
|
<td>{{ object.description|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "VLAN" %}</th>
|
|
|
|
<td>{{ object.vlan|linkify|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Tenant" %}</th>
|
|
|
|
<td>
|
|
|
|
{% if object.tenant.group %}
|
|
|
|
{{ object.tenant.group|linkify }} /
|
|
|
|
{% endif %}
|
|
|
|
{{ object.tenant|linkify|placeholder }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2021-10-12 12:27:12 -04:00
|
|
|
</div>
|
2022-06-27 11:30:52 -04:00
|
|
|
{% include 'inc/panels/tags.html' %}
|
2022-11-04 08:28:09 -04:00
|
|
|
{% include 'inc/panels/comments.html' %}
|
2022-06-27 11:30:52 -04:00
|
|
|
{% plugin_left_page object %}
|
|
|
|
</div>
|
|
|
|
<div class="col col-md-6">
|
|
|
|
{% include 'wireless/inc/authentication_attrs.html' %}
|
|
|
|
{% include 'inc/panels/custom_fields.html' %}
|
|
|
|
{% plugin_right_page object %}
|
2021-10-12 12:27:12 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2021-10-14 09:48:12 -04:00
|
|
|
<div class="col col-md-12">
|
|
|
|
<div class="card">
|
2023-07-29 03:30:25 +07:00
|
|
|
<h5 class="card-header">{% trans "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-12-15 10:34:20 -05:00
|
|
|
{% include 'inc/paginator.html' with paginator=interfaces_table.paginator page=interfaces_table.page %}
|
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
|
|
|
{% plugin_full_width_page object %}
|
|
|
|
</div>
|
2021-10-12 12:27:12 -04:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|