diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 28f9bcef2a..6615e04ead 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -1086,6 +1086,7 @@ a.itemTag:hover { .spotlightContainer { min-height: 340px; + margin-top: 3em; } .spotlightPlaceHolder { @@ -1093,7 +1094,7 @@ a.itemTag:hover { } .spotlightTitle { - margin: 1em 0 .3em; + margin: 1em 0 .2em; } .spotlightContent { @@ -1141,7 +1142,7 @@ a.itemTag:hover { @media all and (max-height: 1079px) and (max-width: 1400px) { - .spotlight, .spotlightPlaceHolder, .spotlightTitle { + .spotlightContainer { display: none; } } diff --git a/dashboard-ui/metadatasubtitles.html b/dashboard-ui/metadatasubtitles.html index 627b79aec2..a8483893c0 100644 --- a/dashboard-ui/metadatasubtitles.html +++ b/dashboard-ui/metadatasubtitles.html @@ -22,7 +22,6 @@

${HeaderSubtitleDownloadingHelp}

-

${HeaderSubtitleDownloadingMoreHelp}

${HeaderDownloadSubtitlesFor} @@ -34,15 +33,21 @@
-
+

+
  • - - -
    ${LabelRequireTextSubtitlesHelp}
    + + +
    ${LabelSkipIfAudioTrackPresentHelp}
    +
  • +
  • + + +
    ${LabelSkipIfGraphicalSubsPresentHelp}
  • diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index 8c9c5518e6..8eb902f213 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -53,8 +53,6 @@ html += '
    '; $(elem).html(html); - - } function reloadSpotlight(page, allPromise) { diff --git a/dashboard-ui/scripts/metadatasubtitles.js b/dashboard-ui/scripts/metadatasubtitles.js index e238b880f3..08e963b336 100644 --- a/dashboard-ui/scripts/metadatasubtitles.js +++ b/dashboard-ui/scripts/metadatasubtitles.js @@ -5,7 +5,8 @@ $('#chkSubtitlesMovies', page).checked(config.SubtitleOptions.DownloadMovieSubtitles).checkboxradio("refresh"); $('#chkSubtitlesEpisodes', page).checked(config.SubtitleOptions.DownloadEpisodeSubtitles).checkboxradio("refresh"); - $('#chkRequireTextSubtitles', page).checked(config.SubtitleOptions.RequireTextSubtitles).checkboxradio("refresh"); + $('#chkSkipIfGraphicalSubsPresent', page).checked(config.SubtitleOptions.SkipIfGraphicalSubtitlesPresent).checkboxradio("refresh"); + $('#chkSkipIfAudioTrackPresent', page).checked(config.SubtitleOptions.SkipIfAudioTrackMatches).checkboxradio("refresh"); $('#txtOpenSubtitleUsername', page).val(config.SubtitleOptions.OpenSubtitlesUsername); $('#txtOpenSubtitlePassword', page).val(''); @@ -78,7 +79,8 @@ config.SubtitleOptions.DownloadMovieSubtitles = $('#chkSubtitlesMovies', form).checked(); config.SubtitleOptions.DownloadEpisodeSubtitles = $('#chkSubtitlesEpisodes', form).checked(); - config.SubtitleOptions.RequireTextSubtitles = $('#chkRequireTextSubtitles', form).checked(); + config.SubtitleOptions.SkipIfGraphicalSubtitlesPresent = $('#chkSkipIfGraphicalSubsPresent', form).checked(); + config.SubtitleOptions.SkipIfAudioTrackMatches = $('#chkSkipIfAudioTrackPresent', form).checked(); config.SubtitleOptions.OpenSubtitlesUsername = $('#txtOpenSubtitleUsername', form).val();