diff --git a/meshview/templates/base.html b/meshview/templates/base.html index 3116d95..ad75c83 100644 --- a/meshview/templates/base.html +++ b/meshview/templates/base.html @@ -16,6 +16,9 @@ .htmx-request .htmx-indicator{ opacity:1 } + #search_form { + z-index: 4000; + } {% block css %} {% endblock %} diff --git a/meshview/templates/datalist.html b/meshview/templates/datalist.html index 61a036b..5c65c4b 100644 --- a/meshview/templates/datalist.html +++ b/meshview/templates/datalist.html @@ -2,6 +2,6 @@ id="node_options" > {% for option in node_options %} - {% endfor %} diff --git a/meshview/templates/search_form.html b/meshview/templates/search_form.html index 9ea4fb9..9825952 100644 --- a/meshview/templates/search_form.html +++ b/meshview/templates/search_form.html @@ -1,23 +1,44 @@
- - {% include "datalist.html" %} - - +
+ + {% include "datalist.html" %} + {% set options = { + 1: "Text Message", + 3: "Position", + 4: "Node Info", + 67: "Telemetry", + 71: "Neighbor Info", + } + %} + + + +
diff --git a/meshview/web.py b/meshview/web.py index 3c654c5..e9ac19e 100644 --- a/meshview/web.py +++ b/meshview/web.py @@ -170,6 +170,7 @@ async def node_search(request): packets=packets, packet_event="packet", node_options=options, + portnum=portnum, ), content_type="text/html", )