From 3a0c7f8452f456cd593a04ab2a82abc757b72f4d Mon Sep 17 00:00:00 2001 From: liaralabs Date: Mon, 14 Dec 2020 13:24:41 -0800 Subject: [PATCH] update socketio to 3.0.4 --- requirements.txt | 2 +- templates/index.html | 139 ++++++++++++++++++++++--------------------- 2 files changed, 73 insertions(+), 68 deletions(-) diff --git a/requirements.txt b/requirements.txt index 68138f3..b01b2a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ flask flask-htpasswd -flask-socketio +flask-socketio>=5 flask-limiter eventlet requests diff --git a/templates/index.html b/templates/index.html index a619bbf..5094376 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,80 +1,85 @@ {% import "macros.html" as macros %} + - - {{ title }} - - - - + + {{ title }} + + + + + -
- {{macros.build_sidebar(pages=pages)}} - {% if config.SHAREDSERVER == True %} - {{macros.build_nav_shared(user=user, apps=pages)}} - {% else %} - {{macros.build_nav(user=user, apps=pages)}} - {% endif %} - -
-
- {% include 'glance.html' %} - {{ macros.build_app_table(apps=pages) }} - {% include 'systeminfo.html' %} - {% if quota == True %} - {% include 'quotainfo.html' %} - {% endif %} - {% if (quota == False or config.ADMIN_USER == user) %} - {% include 'diskinfo.html' %} - {% endif %} - {% include 'raminfo.html' %} - {% if (config.SHAREDSERVER == True or config.ADMIN_USER == user) %} - {% include 'netinfo.html' %} - {% endif %} -
+
+ {{macros.build_sidebar(pages=pages)}} + {% if config.SHAREDSERVER == True %} + {{macros.build_nav_shared(user=user, apps=pages)}} + {% else %} + {{macros.build_nav(user=user, apps=pages)}} + {% endif %} + +
+
+ {% include 'glance.html' %} + {{ macros.build_app_table(apps=pages) }} + {% include 'systeminfo.html' %} + {% if quota == True %} + {% include 'quotainfo.html' %} + {% endif %} + {% if (quota == False or config.ADMIN_USER == user) %} + {% include 'diskinfo.html' %} + {% endif %} + {% include 'raminfo.html' %} + {% if (config.SHAREDSERVER == True or config.ADMIN_USER == user) %} + {% include 'netinfo.html' %} + {% endif %} +
+
+
- -
- + - - - - - + + + + + - + - + + \ No newline at end of file