From db6360922f5e934fcd621169d6c9a5d69e904382 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 12 Jun 2023 15:38:39 +0200 Subject: [PATCH] UI performance fix 5 --- web/inc/main.php | 2 +- web/js/fix.js | 19 ++++-------------- web/templates/admin/list_backup_detail.html | 20 ++++++++++++------- web/templates/admin/panel.html | 6 ++++-- web/templates/header.html | 22 ++++++++++++++++++++- web/templates/right.html | 19 +++++++----------- web/templates/scripts.html | 2 +- web/templates/user/panel.html | 4 ++-- 8 files changed, 53 insertions(+), 41 deletions(-) diff --git a/web/inc/main.php b/web/inc/main.php index 34483025..26df863e 100644 --- a/web/inc/main.php +++ b/web/inc/main.php @@ -8,7 +8,7 @@ if (file_exists("/usr/local/vesta/web/inc/switch_to_vesta_port") && isset($_SERV session_start(); define('VESTA_CMD', '/usr/bin/sudo /usr/local/vesta/bin/'); -define('JS_LATEST_UPDATE', '1491697870'); +define('JS_LATEST_UPDATE', '1491697871'); $i = 0; diff --git a/web/js/fix.js b/web/js/fix.js index e1bdbb34..aaf0fa05 100644 --- a/web/js/fix.js +++ b/web/js/fix.js @@ -54,15 +54,13 @@ function hideIoLog(animate){ $(".to-top").css("right", 85); $(".to-shortcuts").css("right", 130); $(".right_sidebar").css("right", -200); - //$(".io-log2").css("right", -200); - $("#myvesta_float").css("margin-right", 100); + //$("#myvesta_float").css("margin-right", 100); } else { $(".l-content .l-center").animate({"margin-right": 40}); $(".to-top").animate({"right": 85}); $(".to-shortcuts").animate({"right": 130}); $(".right_sidebar").animate({"right": -200}); - //$(".io-log2").animate({"right": -200}); - $("#myvesta_float").animate({"margin-right": 100}); + //$("#myvesta_float").animate({"margin-right": 100}); } } @@ -91,25 +89,16 @@ var iohtml = '