From f63b782cdf4e0a3e5e2bac70d22ce74ace28fa8d Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Wed, 6 Oct 2021 12:54:42 -0700 Subject: [PATCH] cosmetic changes --- web/app.py | 20 ++++++------ web/templates/flask_user_layout.html | 47 +++++++++++----------------- web/templates/index.html | 12 ++++++- web/templates/ss.html | 9 +++--- 4 files changed, 45 insertions(+), 43 deletions(-) diff --git a/web/app.py b/web/app.py index 9de9120..e4c2633 100644 --- a/web/app.py +++ b/web/app.py @@ -974,7 +974,7 @@ def hbnet_web_service(): #print(script_links) content = content + '''\n
-

''' + str(i[0]) + '''

+
MMDVM Passphrase:
''' + str(gen_passphrase(int(i[0]))) + '''

@@ -990,7 +990,7 @@ def hbnet_web_service(): #print(script_links) content = content + '''\n
-

''' + str(i[0]) + '''

+
MMDVM Passphrase:
''' + str(gen_passphrase(int(i[0]))) + '''

@@ -1002,7 +1002,7 @@ def hbnet_web_service(): elif i[1] == '': content = content + '''
-

''' + str(i[0]) + '''

+
MMDVM Passphrase:
''' + legacy_passphrase + '''

@@ -1014,7 +1014,7 @@ def hbnet_web_service(): else: content = content + '''
-

''' + str(i[0]) + '''

+
MMDVM Passphrase:
''' + str(i[1]) + '''

@@ -1300,17 +1300,17 @@ def hbnet_web_service(): if isinstance(i[1], int) == True: passphrase_list = passphrase_list + ''' -''' + str(i[0]) + ''' +''' + str(i[0]) + ''' ''' + str(gen_passphrase(int(i[0]))) + ''' \n''' if i[1] == '': passphrase_list = passphrase_list + ''' -''' + str(i[0]) + ''' +''' + str(i[0]) + ''' ''' + legacy_passphrase + ''' \n''' if not isinstance(i[1], int) == True and i[1] != '': passphrase_list = passphrase_list + ''' -''' + str(i[0]) + ''' +''' + str(i[0]) + ''' ''' + str(i[1]) + ''' \n''' @@ -2383,9 +2383,9 @@ TG #: ''' + str(tg_d.tg) + '''

''' + ssd.callsign + ' - ' + str(ssd.dmr_id) + '''

\n

''' + str(ssd.time.strftime(time_format)) + '''




-

''' + ssd.message + '''

-
-
+

''' + ssd.message + '''

+


+ ''' for i in ss_all: diff --git a/web/templates/flask_user_layout.html b/web/templates/flask_user_layout.html index 31553a6..f6ad155 100644 --- a/web/templates/flask_user_layout.html +++ b/web/templates/flask_user_layout.html @@ -34,14 +34,15 @@ +

Logo

+

{{ user_manager.USER_APP_NAME }}

+
+ - - -

Logo

-
- - + {% block body %}
diff --git a/web/templates/index.html b/web/templates/index.html index c5985a5..b6a1f64 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -2,10 +2,16 @@ {% block content %}

 

+
+ + {{content_block}} + +
+

 

- +
@@ -15,5 +21,9 @@
+ +
+
+

 

{% endblock %} diff --git a/web/templates/ss.html b/web/templates/ss.html index 9973b6e..3f076e8 100644 --- a/web/templates/ss.html +++ b/web/templates/ss.html @@ -8,11 +8,9 @@ {{markup_content}} -
-
-

 

+

Post History

- +
@@ -25,6 +23,9 @@
Post
+ + +