Added seach to all the pages by adding it to base.html

This commit is contained in:
Pablo Revilla
2025-05-23 09:09:48 -07:00
parent dc0b14006f
commit eefa896780
6 changed files with 3 additions and 11 deletions
+2 -2
View File
@@ -44,8 +44,8 @@
{% if site_config["site"]["map"] == "True" %}<a href="/map">Map</a>&nbsp;-&nbsp;{% endif %}
{% if site_config["site"]["stats"] == "True" %}<a href="/stats">Stats</a>&nbsp;-&nbsp;{% endif %}
{% if site_config["site"]["top"] == "True" %}<a href="/top">Top Traffic</a>{% endif %}
</div><br>
</div>
{% include "search_form.html" %}
{% block body %}
{% endblock %}
<br><div style="text-align:center">Visit <strong><a href="https://github.com/pablorevilla-meshtastic/meshview">Meshview</a></strong> on Github.</div><br>
-1
View File
@@ -25,7 +25,6 @@
{% endblock %}
{% block body %}
<div class="container">
<form class="d-flex align-items-center justify-content-between mb-2">
{% set options = {
-2
View File
@@ -17,8 +17,6 @@
}
{% endblock %}
{% block body %}
<div class="container" > {{ site_config["site"]["weekly_net_message"] }} <br><br>
-3
View File
@@ -32,9 +32,6 @@
{% endblock %}
{% block body %}
{% include "search_form.html" %}
<div id="node" class="container text-center">
<div class="container">
<div class="row">
+1 -2
View File
@@ -39,7 +39,6 @@
>{{ name }}</option>
{% endfor %}
</select>
<input type="submit" class="col-2 m-2"/>
<input type="reset" class="col-2 m-2"/>
<input type="submit" value="Go to Node" class="col-2 m-2" />
</div>
</form>
-1
View File
@@ -52,7 +52,6 @@
{% endblock %}
{% block body %}
<div class="main-container">
<h2 class="main-header">Mesh Statistics</h2>