diff --git a/dashboard-ui/autoorganizelog.html b/dashboard-ui/autoorganizelog.html index e26e1f0d21..1ce19bf817 100644 --- a/dashboard-ui/autoorganizelog.html +++ b/dashboard-ui/autoorganizelog.html @@ -30,10 +30,10 @@ - + diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index 8367cd2f58..e3e9bc267e 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -505,6 +505,82 @@ select { color: #fff; } +.ui-body-a select { + background: none; + border-color: rgb(221, 221, 221); +} + + .ui-body-a select option { + color: #000; + } + +a[data-role='button'], button:not([data-role='none']):not(.clearButton) { + -webkit-font-smoothing: antialiased; + -webkit-user-select: none; + background-clip: padding-box; + border-radius: .3125em; + border: 1px solid #ddd !important; + color: rgb(51, 51, 51) !important; + cursor: pointer !important; + font-family: inherit !important; + font-size: inherit !important; + font-weight: 500 !important; + margin: 0 .25em !important; + display: inline-block; + padding: .8em 1em; + text-align: center; + text-decoration: none !important; + background: #f6f6f6 !important; + font-size: 16px; + -webkit-box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.15) /*{global-box-shadow-color}*/; + -moz-box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.15) /*{global-box-shadow-color}*/; + box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.15) /*{global-box-shadow-color}*/; +} + + a[data-role='button']:not([data-inline='true']), button:not([data-role='none']):not([data-inline='true']):not(.clearButton) { + display: block; + margin: .5em 0 !important; + } + + a[data-role='button']:focus, button:not([data-role='none']):focus { + -webkit-box-shadow: 0 0 12px #3388cc /*{a-active-background-color}*/; + -moz-box-shadow: 0 0 12px #3388cc /*{a-active-background-color}*/; + box-shadow: 0 0 12px #3388cc /*{a-active-background-color}*/; + } + + button:not([data-role='none']):not([data-inline='true']):not(.clearButton) { + width: 100%; + } + +div[data-role="controlgroup"] a[data-role='button'] { + display: inline-block !important; + margin: 0 !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + border-radius: 0; +} + + div[data-role="controlgroup"] a[data-role='button']:first-child { + border-bottom-left-radius: .3125em; + border-top-left-radius: .3125em; + } + + div[data-role="controlgroup"] a[data-role='button']:last-child { + border-bottom-right-radius: .3125em; + border-top-right-radius: .3125em; + } + + div[data-role="controlgroup"] a[data-role='button'] + a[data-role='button'] { + border-left-width: 0 !important; + margin: 0 0 0 -3px !important; + } + +div[data-role="controlgroup"] a.ui-btn-active { + background: #38c !important; + color: #fff !important; +} + .smoothScrollX { overflow-x: scroll; -webkit-overflow-scrolling: touch; diff --git a/dashboard-ui/dlnaprofile.html b/dashboard-ui/dlnaprofile.html index 07f7896b30..2c3605e000 100644 --- a/dashboard-ui/dlnaprofile.html +++ b/dashboard-ui/dlnaprofile.html @@ -118,10 +118,13 @@ -

- ${HeaderHttpHeaders} - -

+
+

${HeaderHttpHeaders}

+ + + ${ButtonNew} + +
@@ -286,10 +289,13 @@

${HeaderXmlSettings}

-

- ${HeaderXmlDocumentAttributes} - -

+
+

${HeaderXmlDocumentAttributes}

+ + + ${ButtonNew} + +
${XmlDocumentAttributeListHelp}

diff --git a/dashboard-ui/dlnaprofiles.html b/dashboard-ui/dlnaprofiles.html index b9ecf3e55c..acfabbd6ae 100644 --- a/dashboard-ui/dlnaprofiles.html +++ b/dashboard-ui/dlnaprofiles.html @@ -20,7 +20,12 @@

${HeaderCustomDlnaProfiles}

- ${ButtonNew} + + + + ${ButtonNew} + +
diff --git a/dashboard-ui/edititemmetadata.html b/dashboard-ui/edititemmetadata.html index 1e490c5085..a620a74078 100644 --- a/dashboard-ui/edititemmetadata.html +++ b/dashboard-ui/edititemmetadata.html @@ -248,7 +248,7 @@
- ${ButtonAdd} +
@@ -260,7 +260,7 @@
- ${ButtonAdd} + @@ -281,7 +281,7 @@
- ${ButtonAdd} + @@ -293,7 +293,7 @@
- ${ButtonAdd} + @@ -305,7 +305,7 @@
- ${ButtonAdd} + @@ -355,7 +355,9 @@ - +
@@ -412,7 +414,7 @@
- +

${HeaderIdentifyItem}

@@ -561,7 +563,6 @@
- @@ -614,6 +615,7 @@
${HeaderDate} ${HeaderSource} ${HeaderDestination}
- + @@ -47,9 +47,9 @@
${LabelToHelp}

-

- -

+ diff --git a/dashboard-ui/librarysettings.html b/dashboard-ui/librarysettings.html index 258045a69f..f984c7d3b2 100644 --- a/dashboard-ui/librarysettings.html +++ b/dashboard-ui/librarysettings.html @@ -16,17 +16,6 @@ - -

${HeaderAudio}

diff --git a/dashboard-ui/metadataadvanced.html b/dashboard-ui/metadataadvanced.html index ef33dcefad..c02e3dd35a 100644 --- a/dashboard-ui/metadataadvanced.html +++ b/dashboard-ui/metadataadvanced.html @@ -62,29 +62,6 @@

${HeaderChapters}


-
-

${HeaderChapterDownloadingHelp}

- - - -
  • diff --git a/dashboard-ui/mypreferenceshome.html b/dashboard-ui/mypreferenceshome.html index 26381e24ec..6145abdd6e 100644 --- a/dashboard-ui/mypreferenceshome.html +++ b/dashboard-ui/mypreferenceshome.html @@ -5,7 +5,7 @@ Emby -
    +
    diff --git a/dashboard-ui/myprofile.html b/dashboard-ui/myprofile.html index 3fcecc27ac..5e9a5cbb7b 100644 --- a/dashboard-ui/myprofile.html +++ b/dashboard-ui/myprofile.html @@ -4,7 +4,7 @@ Emby -
    +

    diff --git a/dashboard-ui/reports.html b/dashboard-ui/reports.html index eb2ad9b82c..bb369c727c 100644 --- a/dashboard-ui/reports.html +++ b/dashboard-ui/reports.html @@ -4,7 +4,7 @@ Emby -
    +
    diff --git a/dashboard-ui/scripts/autoorganizelog.js b/dashboard-ui/scripts/autoorganizelog.js index a52a4a37a0..75b013af00 100644 --- a/dashboard-ui/scripts/autoorganizelog.js +++ b/dashboard-ui/scripts/autoorganizelog.js @@ -217,16 +217,6 @@ html += '
'; - html += ''; - html += ''; + html += ''; + html += ''; return html; diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index b8f63b99a9..4b5703169d 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -751,7 +751,7 @@ html += "" + progress + "%"; - html += ''; + html += ''; } else if (task.State == "Cancelling") { html += '' + Globalize.translate('LabelStopping') + ''; diff --git a/dashboard-ui/scripts/directorybrowser.js b/dashboard-ui/scripts/directorybrowser.js index f002c2d8e7..02cdb1fbc4 100644 --- a/dashboard-ui/scripts/directorybrowser.js +++ b/dashboard-ui/scripts/directorybrowser.js @@ -138,7 +138,7 @@ html += ''; html += '
'; - html += ''; + html += ''; html += '
'; html += ''; diff --git a/dashboard-ui/scripts/edititemimages.js b/dashboard-ui/scripts/edititemimages.js index 9c095861a3..06b49d9bce 100644 --- a/dashboard-ui/scripts/edititemimages.js +++ b/dashboard-ui/scripts/edititemimages.js @@ -210,9 +210,9 @@ if (showControls) { html += '
'; - html += ''; - html += ''; + html += ''; + html += ' totalRecordCount ? 'disabled' : '') + '>'; html += '
'; } diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index 6c0b4bd9d7..e6fc48637d 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -228,7 +228,7 @@ }); } - $(document).on('pageinit', "#indexPage", function () { + pageIdOn('pageinit', "indexPage", function () { var page = this; diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 0b5507a4d8..bf19ba190e 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2565,7 +2565,7 @@ //html += ''; var viewPanelClass = options.viewPanelClass || 'viewPanel'; var title = options.viewIcon == 'filter-list' ? Globalize.translate('ButtonFilter') : Globalize.translate('ButtonMenu'); - html += ''; + html += ''; } html += ''; diff --git a/dashboard-ui/scripts/librarypathmapping.js b/dashboard-ui/scripts/librarypathmapping.js index 94b008dbbd..298356bfbe 100644 --- a/dashboard-ui/scripts/librarypathmapping.js +++ b/dashboard-ui/scripts/librarypathmapping.js @@ -41,10 +41,6 @@ var mapHtml = ''; - mapHtml += ''; - mapHtml += ''; @@ -53,6 +49,10 @@ mapHtml += map.To; mapHtml += ''; + mapHtml += ''; + mapHtml += ''; index++; diff --git a/dashboard-ui/scripts/librarysettings.js b/dashboard-ui/scripts/librarysettings.js index f323a37366..8106cc0c4d 100644 --- a/dashboard-ui/scripts/librarysettings.js +++ b/dashboard-ui/scripts/librarysettings.js @@ -12,8 +12,6 @@ $('#selectEnableRealtimeMonitor', page).val(config.EnableLibraryMonitor); - $('#txtItemsByNamePath', page).val(config.ItemsByNamePath || ''); - $('#chkEnableAudioArchiveFiles', page).checked(config.EnableAudioArchiveFiles).checkboxradio("refresh"); $('#chkEnableVideoArchiveFiles', page).checked(config.EnableVideoArchiveFiles).checkboxradio("refresh"); @@ -27,8 +25,6 @@ ApiClient.getServerConfiguration().done(function (config) { - config.ItemsByNamePath = $('#txtItemsByNamePath', form).val(); - config.SeasonZeroDisplayName = $('#txtSeasonZeroName', form).val(); config.EnableLibraryMonitor = $('#selectEnableRealtimeMonitor', form).val(); @@ -59,26 +55,6 @@ var page = this; - $('#btnSelectIBNPath', page).on("click.selectDirectory", function () { - - var picker = new DirectoryBrowser(page); - - picker.show({ - - callback: function (path) { - - if (path) { - $('#txtItemsByNamePath', page).val(path); - } - picker.close(); - }, - - header: Globalize.translate('HeaderSelectImagesByNamePath'), - - instruction: Globalize.translate('HeaderSelectImagesByNamePathHelp') - }); - }); - $('.librarySettingsForm').off('submit', onSubmit).on('submit', onSubmit); }); diff --git a/dashboard-ui/scripts/livetvstatus.js b/dashboard-ui/scripts/livetvstatus.js index 3d17b7c016..1875989a5b 100644 --- a/dashboard-ui/scripts/livetvstatus.js +++ b/dashboard-ui/scripts/livetvstatus.js @@ -81,7 +81,7 @@ html += ''; html += ''; html += ''; diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index f8a02b02e9..291ffcac75 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -107,7 +107,7 @@ html += '

${HeaderFrom} ${HeaderTo}
'; - - - if (item.Status != 'Success') { - html += ''; - html += ''; - } - - html += ''; var date = parseISO8601Date(item.Date, { toLocal: true }); @@ -257,6 +247,16 @@ html += item.TargetPath || ''; html += ''; + + + if (item.Status != 'Success') { + html += ''; + html += ''; + } + + html += '
'; - mapHtml += ''; - mapHtml += ''; mapHtml += map.From; mapHtml += ''; + mapHtml += ''; + mapHtml += '
'; - html += ''; + html += ''; html += '