| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- {% extends 'generic/object.html' %}
- {% load helpers %}
- {% load plugins %}
- {% load render_table from django_tables2 %}
- {% load i18n %}
- {% block content %}
- <div class="row">
- <div class="col col-md-6">
- <div class="card">
- <h2 class="card-header">{% trans "Wireless LAN" %}</h2>
- <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 "Scope" %}</th>
- {% if object.scope %}
- <td>{{ object.scope|linkify }} ({% trans object.scope_type.name %})</td>
- {% else %}
- <td>{{ ''|placeholder }}</td>
- {% endif %}
- </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>
- </div>
- {% include 'inc/panels/tags.html' %}
- {% include 'inc/panels/comments.html' %}
- {% 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 %}
- </div>
- </div>
- <div class="row">
- <div class="col col-md-12">
- <div class="card">
- <h2 class="card-header">{% trans "Attached Interfaces" %}</h2>
- <div class="card-body table-responsive">
- {% render_table interfaces_table 'inc/table.html' %}
- {% include 'inc/paginator.html' with paginator=interfaces_table.paginator page=interfaces_table.page %}
- </div>
- </div>
- {% plugin_full_width_page object %}
- </div>
- </div>
- {% endblock %}
|