diff --git a/scripts/dashboard/dashboard.py b/scripts/dashboard/dashboard.py index 6feef12..285cc14 100644 --- a/scripts/dashboard/dashboard.py +++ b/scripts/dashboard/dashboard.py @@ -130,20 +130,19 @@ def check_emergency(): notice_header = 'EMERGENCY ACTIVATION' value = Markup("""

""" + notice_header + """

-

 

- + - + - +
From:""" + sos_file['call'] + """ - """ + str(sos_file['dmr_id']) + """""" + sos_file['call'] + """ - """ + str(sos_file['dmr_id']) + """
Message:""" + sos_file['message'] + """""" + sos_file['message'] + """
Time:""" + sos_file['time'] + """""" + sos_file['time'] + """
@@ -331,6 +330,7 @@ def user_settings(): user_id = request.args.get('user_id') if not user_id: user_result = """ + Use this tool to find and check the stored APRS settings for your DMR ID. When a position is sent, the stored settings will be used to format the APRS packet.
@@ -397,7 +397,7 @@ def user_settings():

''' - return render_template('user_settings.html', title = dashboard_title, logo = logo, user_result = Markup(user_result)) + return render_template('generic.html', title = dashboard_title, logo = logo, content = Markup(user_result)) @app.route('/mailbox') def mailbox(): @@ -436,7 +436,6 @@ def mailbox(): for messages in mailbox_file: if messages['recipient'] == recipient.upper(): mail_content = mail_content + """ -

 

@@ -457,6 +456,7 @@ def mailbox():
+

 

""" return render_template('generic.html', title = dashboard_title, logo = logo, content = Markup(mail_content)) diff --git a/scripts/dashboard/templates/header.html b/scripts/dashboard/templates/header.html index 971fe24..820086e 100644 --- a/scripts/dashboard/templates/header.html +++ b/scripts/dashboard/templates/header.html @@ -4,11 +4,11 @@ - + - + diff --git a/scripts/dashboard/templates/user_settings.html b/scripts/dashboard/templates/user_settings.html deleted file mode 100644 index dc4ec6f..0000000 --- a/scripts/dashboard/templates/user_settings.html +++ /dev/null @@ -1,8 +0,0 @@ -{% include 'page.html' %} -{% include 'header.html' %} -

 

-Use this tool to find the stored APRS settings for your DMR ID. When a position is sent, the stored settings will be used to format the APRS packet. -{{user_result}} -

 

-{% include 'footer.html' %} -