wirelesslan.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {% extends 'generic/object.html' %}
  2. {% load helpers %}
  3. {% load plugins %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col col-md-6">
  7. <div class="card">
  8. <h5 class="card-header">Wireless LAN</h5>
  9. <div class="card-body">
  10. <table class="table table-hover attr-table">
  11. <tr>
  12. <th scope="row">SSID</th>
  13. <td>{{ object.ssid }}</td>
  14. </tr>
  15. <tr>
  16. <td>Group</td>
  17. <td>
  18. {% if object.group %}
  19. <a href="{{ object.group.get_absolute_url }}">{{ object.group }}</a>
  20. {% else %}
  21. <span class="text-muted">None</span>
  22. {% endif %}
  23. </td>
  24. </tr>
  25. <tr>
  26. <th scope="row">Description</th>
  27. <td>{{ object.description|placeholder }}</td>
  28. </tr>
  29. <tr>
  30. <th scope="row">VLAN</th>
  31. <td>
  32. {% if object.vlan %}
  33. <a href="{{ object.vlan.get_absolute_url }}">{{ object.vlan }}</a>
  34. {% else %}
  35. <span class="text-muted">None</span>
  36. {% endif %}
  37. </td>
  38. </tr>
  39. </table>
  40. </div>
  41. </div>
  42. {% include 'inc/panels/tags.html' %}
  43. {% plugin_left_page object %}
  44. </div>
  45. <div class="col col-md-6">
  46. {% include 'wireless/inc/authentication_attrs.html' %}
  47. {% include 'inc/panels/custom_fields.html' %}
  48. {% plugin_right_page object %}
  49. </div>
  50. </div>
  51. <div class="row">
  52. <div class="col col-md-12">
  53. <div class="card">
  54. <h5 class="card-header">Attached Interfaces</h5>
  55. <div class="card-body">
  56. {% include 'inc/table.html' with table=interfaces_table %}
  57. </div>
  58. </div>
  59. {% include 'inc/paginator.html' with paginator=interfaces_table.paginator page=interfaces_table.page %}
  60. {% plugin_full_width_page object %}
  61. </div>
  62. </div>
  63. {% endblock %}