diff --git a/scripts/dashboard/dashboard.py b/scripts/dashboard/dashboard.py index e5f5018..cf7e105 100644 --- a/scripts/dashboard/dashboard.py +++ b/scripts/dashboard/dashboard.py @@ -114,6 +114,9 @@ def dash_bb(): def dash_loc(): return get_loc_data() #return render_template('index.html', data = str(get_data())) +@app.route('//') +def render_static(page_name): + return render_template('%s.html' % page_name) if __name__ == '__main__': app.run(debug = True, port=dash_port, host=dash_host) diff --git a/scripts/dashboard/templates/index.html b/scripts/dashboard/templates/index.html index e9bea40..b8fdcf5 100644 --- a/scripts/dashboard/templates/index.html +++ b/scripts/dashboard/templates/index.html @@ -18,6 +18,19 @@ p {

Logo

{{title}}


+ + + + + + + +
+

Dashboard

+
+

About Dashboard

+
+

Page automatically reloads every 2 minutes.

{{description}}

@@ -32,4 +45,5 @@ p {

Dashboard created by KF7EEL - https://github.com/kf7eel/hblink3
HBLink created by N0MJS.
HBLink GitHub page
+