Update templates/neighbors.html

This commit is contained in:
Blackwhitebear8 2025-10-31 20:05:28 +01:00
parent e8e7473e87
commit 69062d9d4d

View file

@ -16,25 +16,27 @@
Refresh data
</button>
</div>
<table class="striped table table-bordered" id="neighborsTable">
<thead>
<tr>
<th class="sortable" onclick="sortTable('neighborsTable', 0, this)">IP Address <span class="sort-arrow"></span></th>
<th class="sortable" onclick="sortTable('neighborsTable', 1, this)">Interface <span class="sort-arrow"></span></th>
<th class="sortable" onclick="sortTable('neighborsTable', 2, this)">MAC Address <span class="sort-arrow"></span></th>
<th class="sortable" onclick="sortTable('neighborsTable', 3, this)">State <span class="sort-arrow"></span></th>
</tr>
</thead>
<tbody id="neighborsTableBody">
<tr id="arp-loading-row">
<td colspan="4" class="text-center">
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</td>
</tr>
</tbody>
</table>
<p><a href="/neighbors/json">JSON version</a></p>
<div class="table-responsive">
<table class="striped table table-bordered" id="neighborsTable">
<thead>
<tr>
<th class="sortable" onclick="sortTable('neighborsTable', 0, this)">IP Address <span class="sort-arrow"></span></th>
<th class="sortable" onclick="sortTable('neighborsTable', 1, this)">Interface <span class="sort-arrow"></span></th>
<th class="sortable" onclick="sortTable('neighborsTable', 2, this)">MAC Address <span class="sort-arrow"></span></th>
<th class="sortable" onclick="sortTable('neighborsTable', 3, this)">State <span class="sort-arrow"></span></th>
</tr>
</thead>
<tbody id="neighborsTableBody">
<tr id="arp-loading-row">
<td colspan="4" class="text-center">
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</td>
</tr>
</tbody>
</table>
</div> <p><a href="/neighbors/json">JSON version</a></p>
</section>
{% endblock %}