mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-03-04 23:27:46 +01:00
nodelist now also works with API
This commit is contained in:
@@ -276,7 +276,7 @@ async def get_nodes(role=None, channel=None, hw_model=None, days_active=None):
|
||||
query = query.where(Node.last_update != "")
|
||||
|
||||
# Order results by long_name in ascending order
|
||||
query = query.order_by(Node.long_name.asc())
|
||||
query = query.order_by(Node.short_name.asc())
|
||||
|
||||
# Execute the query and retrieve results
|
||||
result = await session.execute(query)
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div id="map" style="width: 100%; height: 600px;"></div>
|
||||
<div id="map" style="width: 100%; height: calc(100vh - 270px)"></div>
|
||||
|
||||
<div id="filter-container">
|
||||
<input type="checkbox" class="filter-checkbox" id="filter-routers-only"> Show Routers Only
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user