From 264dafb8a437bb7fb6c3dec6760c9123a9d485aa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 15 Oct 2015 13:21:18 -0400 Subject: [PATCH] begin rework of library setup --- dashboard-ui/css/card.css | 14 +- dashboard-ui/library.html | 23 +- dashboard-ui/scripts/loginpage.js | 2 +- dashboard-ui/scripts/medialibrarypage.js | 638 +++++++++++------- dashboard-ui/scripts/plugincatalogpage.js | 2 +- dashboard-ui/scripts/pluginspage.js | 2 +- dashboard-ui/scripts/userparentalcontrol.js | 2 +- dashboard-ui/scripts/userprofilespage.js | 4 +- dashboard-ui/strings/javascript/en-US.json | 3 +- .../strings/javascript/javascript.json | 3 +- dashboard-ui/thirdparty/emby-icons.html | 1 + dashboard-ui/vulcanize-out.html | 1 + dashboard-ui/wizardlibrary.html | 7 +- 13 files changed, 413 insertions(+), 289 deletions(-) diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 119d29866e..a411e009cb 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -309,19 +309,15 @@ } .iconCardImage { + display: flex; + align-items: center; text-align: center; - position: relative; + justify-content: center; } .iconCardImage iron-icon { - color: rgb(255, 255, 255); - position: absolute; - left: 0; - right: 0; - width: 50%; - height: 50%; - margin: auto; - top: 22%; + width: 30%; + height: 30%; } .bannerCard { diff --git a/dashboard-ui/library.html b/dashboard-ui/library.html index 7df07c8a29..7385ffad83 100644 --- a/dashboard-ui/library.html +++ b/dashboard-ui/library.html @@ -13,24 +13,17 @@ ${TabPathSubstitution} ${TabAdvanced} -
-
-

- -

-
-
+
-
-
- ${ButtonScanLibrary} -
- -
${LabelLastResult}
-
+
+
+ ${ButtonScanLibrary} +
+ +
${LabelLastResult}
-
+