From af4b3f4897998c41176ebed205f594df73d890db Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Fri, 1 Jan 2021 14:43:21 -0800 Subject: [PATCH] update dashboard theme --- scripts/dashboard/dashboard.py | 2 +- scripts/dashboard/templates/about.html | 10 +++++++--- scripts/dashboard/templates/index.html | 10 +++++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/scripts/dashboard/dashboard.py b/scripts/dashboard/dashboard.py index cf7e105..c721443 100644 --- a/scripts/dashboard/dashboard.py +++ b/scripts/dashboard/dashboard.py @@ -116,7 +116,7 @@ def dash_loc(): #return render_template('index.html', data = str(get_data())) @app.route('//') def render_static(page_name): - return render_template('%s.html' % page_name) + return render_template('%s.html' % page_name, title = dashboard_title, logo = logo) if __name__ == '__main__': app.run(debug = True, port=dash_port, host=dash_host) diff --git a/scripts/dashboard/templates/about.html b/scripts/dashboard/templates/about.html index b3d1cae..6885e46 100644 --- a/scripts/dashboard/templates/about.html +++ b/scripts/dashboard/templates/about.html @@ -18,14 +18,18 @@ p {

Logo

{{title}}


- +
diff --git a/scripts/dashboard/templates/index.html b/scripts/dashboard/templates/index.html index b8fdcf5..5ee1bba 100644 --- a/scripts/dashboard/templates/index.html +++ b/scripts/dashboard/templates/index.html @@ -18,14 +18,18 @@ p {

Logo

{{title}}


-
-

Dashboard

+
-

About Dashboard

+
+
-

Dashboard

+
-

About Dashboard

+