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