mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-10-31 03:01:58 +01:00
nodelist now also works with API
This commit is contained in:
1 parent
9c4171928a
commit
aea81f77f8
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -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