diff --git a/scripts/dashboard/dashboard.py b/scripts/dashboard/dashboard.py index 14a1676..e5f5018 100644 --- a/scripts/dashboard/dashboard.py +++ b/scripts/dashboard/dashboard.py @@ -105,7 +105,7 @@ def get_bb_data(): @app.route('/') def index(): #return get_data() - return render_template('index.html', title = dashboard_title, logo = logo) + return render_template('index.html', title = dashboard_title, logo = logo, description = description) @app.route('/bulletin_board') def dash_bb(): return get_bb_data() diff --git a/scripts/dashboard/dashboard_settings-SAMPLE.py b/scripts/dashboard/dashboard_settings-SAMPLE.py index 6581e13..856c9c9 100644 --- a/scripts/dashboard/dashboard_settings-SAMPLE.py +++ b/scripts/dashboard/dashboard_settings-SAMPLE.py @@ -29,3 +29,7 @@ logo = 'https://raw.githubusercontent.com/kf7eel/hblink3/gps/HBlink.png' dash_port = 8092 # IP to run server on dash_host = '127.0.0.1' +#Description of dashboard to show on main page +description = ''' +Welcome to the ''' + dashboard_title + '''. +''' diff --git a/scripts/dashboard/templates/index.html b/scripts/dashboard/templates/index.html index 4e2b07e..b569a49 100644 --- a/scripts/dashboard/templates/index.html +++ b/scripts/dashboard/templates/index.html @@ -15,6 +15,7 @@ p { +

{{description}}

Logo

{{title}}


@@ -22,9 +23,9 @@ p { - +

-

+