From c0bdf018d6eca15359314ab072337f33cd5f0839 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 11 Feb 2016 23:33:14 -0500 Subject: [PATCH] update config pages --- dashboard-ui/about.html | 4 ++-- dashboard-ui/css/card.css | 5 ----- dashboard-ui/css/chromecast.css | 1 - dashboard-ui/css/search.css | 1 - dashboard-ui/css/site.css | 3 --- dashboard-ui/metadata.html | 2 -- dashboard-ui/metadataadvanced.html | 2 -- dashboard-ui/metadataimages.html | 2 -- dashboard-ui/metadatanfo.html | 20 ++++++++------------ dashboard-ui/metadatasubtitles.html | 2 -- dashboard-ui/scripts/dashboardpage.js | 4 ++-- dashboard-ui/scripts/dlnasettings.js | 4 ++-- dashboard-ui/scripts/librarybrowser.js | 2 +- dashboard-ui/scripts/medialibrarypage.js | 4 ++-- dashboard-ui/scripts/metadatanfo.js | 14 ++++++++------ dashboard-ui/scripts/sections.js | 2 +- dashboard-ui/syncactivity.html | 2 +- dashboard-ui/voice/voice.css | 1 - 18 files changed, 27 insertions(+), 48 deletions(-) diff --git a/dashboard-ui/about.html b/dashboard-ui/about.html index b78d31d49a..ca60e5616b 100644 --- a/dashboard-ui/about.html +++ b/dashboard-ui/about.html @@ -15,9 +15,9 @@ ${TabEmbyPremiere} ${TabAbout} -
+

EMBY -

+

${VersionNumber}
diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 097bb1e485..91dd2650db 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -212,7 +212,6 @@ padding: 10px !important; margin: 0 !important; color: inherit; - font-size: 20px; } .cardText { @@ -225,10 +224,6 @@ line-height: 1.4; } -.homeTopViews .cardText { - font-size: 15px; -} - .cardButtonContainer { text-align: right; float: right; diff --git a/dashboard-ui/css/chromecast.css b/dashboard-ui/css/chromecast.css index b9c1fbc12b..eee1b5f40e 100644 --- a/dashboard-ui/css/chromecast.css +++ b/dashboard-ui/css/chromecast.css @@ -6,7 +6,6 @@ display: inline-block; vertical-align: middle; color: #ddd; - /*font-size: 11px;*/ font-weight: 400; position: relative; top: 2px; diff --git a/dashboard-ui/css/search.css b/dashboard-ui/css/search.css index 3718f30cad..368d570e06 100644 --- a/dashboard-ui/css/search.css +++ b/dashboard-ui/css/search.css @@ -115,7 +115,6 @@ border-radius: 0 !important; padding: 7px 0 6px 0 !important; text-indent: 10px !important; - font-size: 16px; font-family: inherit; outline: none; vertical-align: middle; diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index a079018c22..5032f61296 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -1582,7 +1582,6 @@ progress { left: 0; right: 0; bottom: 0; - border-radius: 2px; } .sessionNowPlayingInnerContent { @@ -1594,7 +1593,6 @@ progress { bottom: 0; color: #fff; font-weight: 400; - border-radius: 2px; } .sessionAppInfo { @@ -1657,7 +1655,6 @@ progress { .activeSession:not(.playingSession) .sessionNowPlayingInnerContent { background-color: #fff; color: #000; - border: 1px solid #ddd; } .activeSession:not(.playingSession) .sessionUserInfo, .activeSession:not(.playingSession) .sessionNowPlayingInfo { diff --git a/dashboard-ui/metadata.html b/dashboard-ui/metadata.html index f577170f9c..8e510b17ae 100644 --- a/dashboard-ui/metadata.html +++ b/dashboard-ui/metadata.html @@ -41,8 +41,6 @@ - - ${ButtonCancel} diff --git a/dashboard-ui/metadataadvanced.html b/dashboard-ui/metadataadvanced.html index a6e5cd676c..cd2bb6dcbd 100644 --- a/dashboard-ui/metadataadvanced.html +++ b/dashboard-ui/metadataadvanced.html @@ -149,8 +149,6 @@ - - ${ButtonCancel} diff --git a/dashboard-ui/metadataimages.html b/dashboard-ui/metadataimages.html index a0fd1f6c4b..35d007583d 100644 --- a/dashboard-ui/metadataimages.html +++ b/dashboard-ui/metadataimages.html @@ -121,8 +121,6 @@ - - ${ButtonCancel} diff --git a/dashboard-ui/metadatanfo.html b/dashboard-ui/metadatanfo.html index e5ccb39fdb..d67b033ab2 100644 --- a/dashboard-ui/metadatanfo.html +++ b/dashboard-ui/metadatanfo.html @@ -4,7 +4,7 @@ ${TitleMetadata} -
+
@@ -37,22 +37,20 @@
${LabelKodiMetadataDateFormatHelp}
  • - - -
    ${LabelKodiMetadataSaveImagePathsHelp}
    +
    + ${LabelKodiMetadataSaveImagePaths} +
    ${LabelKodiMetadataSaveImagePathsHelp}
  • - - -
    + ${LabelKodiMetadataEnablePathSubstitution} +
    ${LabelKodiMetadataEnablePathSubstitutionHelp}
  • - - -
    ${LabelKodiMetadataEnableExtraThumbsHelp}
    + ${LabelKodiMetadataEnableExtraThumbs} +
    ${LabelKodiMetadataEnableExtraThumbsHelp}

  • @@ -61,8 +59,6 @@ - - ${ButtonCancel} diff --git a/dashboard-ui/metadatasubtitles.html b/dashboard-ui/metadatasubtitles.html index bb62be9da5..7c20cdb7bf 100644 --- a/dashboard-ui/metadatasubtitles.html +++ b/dashboard-ui/metadatasubtitles.html @@ -61,8 +61,6 @@ - - ${ButtonCancel} diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index 40492cc654..d13c2d2a5e 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -297,7 +297,7 @@ html += '
    '; - html += '
    '; + html += '
    '; html += '
    '; html += '
    '; @@ -1380,7 +1380,7 @@ $(document).on('pageshow', "#dashboardPage", DashboardPage.onPageShow).on('pageb if (!pluginSecurityInfo.IsMBSupporter && AppInfo.enableSupporterMembership) { - var html = ''; + var html = ''; $('.content-primary', page).append(html); } diff --git a/dashboard-ui/scripts/dlnasettings.js b/dashboard-ui/scripts/dlnasettings.js index 4001b825ac..2c16905cd2 100644 --- a/dashboard-ui/scripts/dlnasettings.js +++ b/dashboard-ui/scripts/dlnasettings.js @@ -3,7 +3,7 @@ function loadPage(page, config) { page.querySelector('#chkEnablePlayTo').checked = config.EnablePlayTo; - page.querySelector('#chkEnableDlnaDebugLogging').checked = config.EnableDebugLogging; + page.querySelector('#chkEnableDlnaDebugLogging').checked = config.EnableDebugLog; $('#txtClientDiscoveryInterval', page).val(config.ClientDiscoveryIntervalSeconds); @@ -19,7 +19,7 @@ ApiClient.getNamedConfiguration("dlna").then(function (config) { config.EnablePlayTo = form.querySelector('#chkEnablePlayTo').checked; - config.EnableDebugLogging = form.querySelector('#chkEnableDlnaDebugLogging').checked; + config.EnableDebugLog = form.querySelector('#chkEnableDlnaDebugLogging').checked; config.ClientDiscoveryIntervalSeconds = $('#txtClientDiscoveryInterval', form).val(); diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 9cdb401261..8c4362e864 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2864,7 +2864,7 @@ }).join(''); // Add styles to defeat jquery mobile - html += '
    '; + html += '
    '; } } diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index c2da39645c..3a1217912e 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -313,7 +313,7 @@ html += "
    "; if (!imgUrl && virtualFolder.showNameWithIcon) { - html += '
    '; + html += '

    '; html += '
    '; html += ''; @@ -325,7 +325,7 @@ } html += "
    "; - html += '

    '; + html += ''; } html += '
    '; diff --git a/dashboard-ui/scripts/metadatanfo.js b/dashboard-ui/scripts/metadatanfo.js index 839c002ce1..29a80214e5 100644 --- a/dashboard-ui/scripts/metadatanfo.js +++ b/dashboard-ui/scripts/metadatanfo.js @@ -12,9 +12,10 @@ $('#selectUser', page).html(html).val(config.UserId || ''); $('#selectReleaseDateFormat', page).val(config.ReleaseDateFormat); - $('#chkSaveImagePaths', page).checked(config.SaveImagePathsInNfo).checkboxradio('refresh'); - $('#chkEnablePathSubstitution', page).checked(config.EnablePathSubstitution).checkboxradio('refresh'); - $('#chkEnableExtraThumbs', page).checked(config.EnableExtraThumbsDuplication).checkboxradio('refresh'); + + page.querySelector('#chkSaveImagePaths').checked = config.SaveImagePathsInNfo; + page.querySelector('#chkEnablePathSubstitution').checked = config.EnablePathSubstitution; + page.querySelector('#chkEnableExtraThumbs').checked = config.EnableExtraThumbsDuplication; Dashboard.hideLoadingMsg(); } @@ -28,9 +29,10 @@ config.UserId = $('#selectUser', form).val() || null; config.ReleaseDateFormat = $('#selectReleaseDateFormat', form).val(); - config.SaveImagePathsInNfo = $('#chkSaveImagePaths', form).checked(); - config.EnablePathSubstitution = $('#chkEnablePathSubstitution', form).checked(); - config.EnableExtraThumbsDuplication = $('#chkEnableExtraThumbs', form).checked(); + + config.SaveImagePathsInNfo = form.querySelector('#chkSaveImagePaths').checked; + config.EnablePathSubstitution = form.querySelector('#chkEnablePathSubstitution').checked; + config.EnableExtraThumbsDuplication = form.querySelector('#chkEnableExtraThumbs').checked; ApiClient.updateNamedConfiguration(metadataKey, config).then(Dashboard.processServerConfigurationUpdateResult); }); diff --git a/dashboard-ui/scripts/sections.js b/dashboard-ui/scripts/sections.js index b60e6df7d4..5b1e84063a 100644 --- a/dashboard-ui/scripts/sections.js +++ b/dashboard-ui/scripts/sections.js @@ -141,7 +141,7 @@ html += ''; html += '
    '; - html += "
    "; + html += "
    "; html += ''; html += '' + item.Name + ''; html += "
    "; diff --git a/dashboard-ui/syncactivity.html b/dashboard-ui/syncactivity.html index 984a58ee37..bbe85a206c 100644 --- a/dashboard-ui/syncactivity.html +++ b/dashboard-ui/syncactivity.html @@ -22,7 +22,7 @@