From e1503697269f7297d26c79a374c38737f047f4a5 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Mon, 27 Aug 2018 17:56:40 +0100 Subject: [PATCH] Feat: Show update database progress --- htdocs/css/mympd.css | 7 +++++-- htdocs/index.html | 2 +- htdocs/js/mympd.js | 46 +++++++++++++++++++++++++++++--------------- 3 files changed, 37 insertions(+), 18 deletions(-) diff --git a/htdocs/css/mympd.css b/htdocs/css/mympd.css index d9c33d8..3311a0a 100644 --- a/htdocs/css/mympd.css +++ b/htdocs/css/mympd.css @@ -251,10 +251,13 @@ caption { } @keyframes changewidth { - from { width: 0%; } - to { width: 100%; } + from { margin-left: -20px; } + to { margin-left: 100%; } } +#updateDBprogress { + width:20px; +} .updateDBprogressAnimate { animation-duration: 2s; animation-name: changewidth; diff --git a/htdocs/index.html b/htdocs/index.html index 2dd2a50..279ff3c 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -543,7 +543,7 @@