From eefa896780d6f62b80c1141868ef0b0c15b7f339 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Fri, 23 May 2025 09:09:48 -0700 Subject: [PATCH] Added seach to all the pages by adding it to base.html --- meshview/templates/base.html | 4 ++-- meshview/templates/firehose.html | 1 - meshview/templates/net.html | 2 -- meshview/templates/node.html | 3 --- meshview/templates/search_form.html | 3 +-- meshview/templates/stats.html | 1 - 6 files changed, 3 insertions(+), 11 deletions(-) diff --git a/meshview/templates/base.html b/meshview/templates/base.html index bd75266..fd03bfa 100644 --- a/meshview/templates/base.html +++ b/meshview/templates/base.html @@ -44,8 +44,8 @@ {% if site_config["site"]["map"] == "True" %}Map - {% endif %} {% if site_config["site"]["stats"] == "True" %}Stats - {% endif %} {% if site_config["site"]["top"] == "True" %}Top Traffic{% endif %} -
- + + {% include "search_form.html" %} {% block body %} {% endblock %}
Visit Meshview on Github.

diff --git a/meshview/templates/firehose.html b/meshview/templates/firehose.html index b5f71a0..58490cb 100644 --- a/meshview/templates/firehose.html +++ b/meshview/templates/firehose.html @@ -25,7 +25,6 @@ {% endblock %} {% block body %} -
{% set options = { diff --git a/meshview/templates/net.html b/meshview/templates/net.html index 5ed7498..4c5eeb7 100644 --- a/meshview/templates/net.html +++ b/meshview/templates/net.html @@ -17,8 +17,6 @@ } {% endblock %} - - {% block body %}
{{ site_config["site"]["weekly_net_message"] }}

diff --git a/meshview/templates/node.html b/meshview/templates/node.html index 3c934b5..463d930 100644 --- a/meshview/templates/node.html +++ b/meshview/templates/node.html @@ -32,9 +32,6 @@ {% endblock %} {% block body %} - -{% include "search_form.html" %} -
diff --git a/meshview/templates/search_form.html b/meshview/templates/search_form.html index dc1d070..94cc99c 100644 --- a/meshview/templates/search_form.html +++ b/meshview/templates/search_form.html @@ -39,7 +39,6 @@ >{{ name }} {% endfor %} - - +
diff --git a/meshview/templates/stats.html b/meshview/templates/stats.html index 5ec57d5..feb25b9 100644 --- a/meshview/templates/stats.html +++ b/meshview/templates/stats.html @@ -52,7 +52,6 @@ {% endblock %} {% block body %} -

Mesh Statistics