From 558023e18e4331ecab7254d2143909c31010d550 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 25 Oct 2020 13:07:42 -0700 Subject: [PATCH] Improve startup speed by refreshing on a separate thread --- data/interfaces/default/css/tautulli.css | 7 +- data/interfaces/default/index.html | 120 +++++++++++++---------- plexpy/__init__.py | 44 +++++---- plexpy/libraries.py | 3 +- plexpy/webserve.py | 25 +++++ 5 files changed, 122 insertions(+), 77 deletions(-) diff --git a/data/interfaces/default/css/tautulli.css b/data/interfaces/default/css/tautulli.css index f2118fab..61566265 100644 --- a/data/interfaces/default/css/tautulli.css +++ b/data/interfaces/default/css/tautulli.css @@ -750,7 +750,9 @@ a .users-poster-face:hover { position: relative; } #dashboard-checking-activity, -#dashboard-no-activity { +#dashboard-no-activity, +#dashboard-checking-recently-added, +#dashboard-no-recently-added { margin-bottom: 20px; } .dashboard-activity-instance { @@ -1446,9 +1448,6 @@ a:hover .dashboard-stats-square { -moz-box-shadow: inset 0 0 0 2px #e9a049; box-shadow: inset 0 0 0 2px #e9a049; } -#dashboard-no-recently-added { - margin-bottom: 20px; -} .dashboard-recent-media-row { width: 100%; margin: 0 auto; diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html index 8a92f4f4..2936c774 100644 --- a/data/interfaces/default/index.html +++ b/data/interfaces/default/index.html @@ -24,17 +24,13 @@