From 8e2010af75be3108efa65b03a805408cb29a20ec Mon Sep 17 00:00:00 2001 From: Phillip Tarrant Date: Tue, 22 Sep 2020 16:17:17 -0400 Subject: [PATCH] added version to bottom of pages --- app/classes/web/server_handler.py | 2 +- app/frontend/templates/footer.html | 7 +++++-- app/frontend/templates/notify.html | 11 +++-------- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/classes/web/server_handler.py b/app/classes/web/server_handler.py index 08436cad..f368fec1 100644 --- a/app/classes/web/server_handler.py +++ b/app/classes/web/server_handler.py @@ -36,7 +36,7 @@ class ServerHandler(BaseHandler): defined_servers = controller.list_defined_servers() page_data = { - 'version_data': "version_data_here", + 'version_data': helper.get_version_string(), 'user_data': user_data, 'server_stats': { 'total': len(controller.list_defined_servers()), diff --git a/app/frontend/templates/footer.html b/app/frontend/templates/footer.html index 03c4cfab..fe371681 100644 --- a/app/frontend/templates/footer.html +++ b/app/frontend/templates/footer.html @@ -1,8 +1,11 @@ \ No newline at end of file diff --git a/app/frontend/templates/notify.html b/app/frontend/templates/notify.html index 0c63b37e..3d29b290 100644 --- a/app/frontend/templates/notify.html +++ b/app/frontend/templates/notify.html @@ -2,13 +2,10 @@