diff --git a/dashboard-ui/channelitems.html b/dashboard-ui/channelitems.html index f4118157cf..8f338a8e9a 100644 --- a/dashboard-ui/channelitems.html +++ b/dashboard-ui/channelitems.html @@ -1,4 +1,4 @@ -
+
diff --git a/dashboard-ui/components/filterdialog/filterdialog.js b/dashboard-ui/components/filterdialog/filterdialog.js index 8d9d667626..4b85d0628b 100644 --- a/dashboard-ui/components/filterdialog/filterdialog.js +++ b/dashboard-ui/components/filterdialog/filterdialog.js @@ -1,4 +1,4 @@ -define(['dialogHelper', 'events', 'browser', 'jQuery', 'paper-checkbox', 'emby-collapsible', 'css!components/filterdialog/style', 'paper-radio-button', 'paper-radio-group'], function (dialogHelper, events, browser, $) { +define(['dialogHelper', 'events', 'browser', 'jQuery', 'paper-checkbox', 'emby-checkbox', 'emby-collapsible', 'css!components/filterdialog/style', 'paper-radio-button', 'paper-radio-group'], function (dialogHelper, events, browser, $) { function renderOptions(context, selector, cssClass, items, isCheckedFn) { @@ -15,14 +15,17 @@ var html = ''; // style="margin: -.2em -.8em;" - html += '
'; + html += '
'; html += items.map(function (filter) { var itemHtml = ''; var checkedHtml = isCheckedFn(filter) ? ' checked' : ''; - itemHtml += '' + filter + ''; + itemHtml += ''; return itemHtml; diff --git a/dashboard-ui/components/filterdialog/filterdialog.template.html b/dashboard-ui/components/filterdialog/filterdialog.template.html index 78742d645c..d52a6bd4e4 100644 --- a/dashboard-ui/components/filterdialog/filterdialog.template.html +++ b/dashboard-ui/components/filterdialog/filterdialog.template.html @@ -73,14 +73,34 @@ -
- ${OptionBluray} - ${OptionDvd} - ${OptionIso} +
+ + + - ${OptionIsHD} - ${OptionIsSD} - ${Option3D} + + + + +
diff --git a/dashboard-ui/components/itemidentifier/itemidentifier.js b/dashboard-ui/components/itemidentifier/itemidentifier.js index 7dfd030014..d95849e677 100644 --- a/dashboard-ui/components/itemidentifier/itemidentifier.js +++ b/dashboard-ui/components/itemidentifier/itemidentifier.js @@ -1,4 +1,4 @@ -define(['dialogHelper', 'loading', 'jQuery', 'emby-input', 'paper-checkbox', 'paper-icon-button-light'], function (dialogHelper, loading, $) { +define(['dialogHelper', 'loading', 'jQuery', 'emby-input', 'emby-checkbox', 'paper-icon-button-light'], function (dialogHelper, loading, $) { var currentItem; var currentItemType; diff --git a/dashboard-ui/components/itemidentifier/itemidentifier.template.html b/dashboard-ui/components/itemidentifier/itemidentifier.template.html index 1bd8b78d96..f2f3d40a75 100644 --- a/dashboard-ui/components/itemidentifier/itemidentifier.template.html +++ b/dashboard-ui/components/itemidentifier/itemidentifier.template.html @@ -30,9 +30,9 @@

-
- ${OptionReplaceExistingImages} -
-
+ diff --git a/dashboard-ui/components/metadataeditor/metadataeditor.js b/dashboard-ui/components/metadataeditor/metadataeditor.js index b96552a658..72db3d1d6e 100644 --- a/dashboard-ui/components/metadataeditor/metadataeditor.js +++ b/dashboard-ui/components/metadataeditor/metadataeditor.js @@ -1,4 +1,4 @@ -define(['dialogHelper', 'datetime', 'jQuery', 'paper-checkbox', 'paper-input', 'paper-item-body', 'paper-icon-item', 'paper-textarea', 'paper-fab', 'paper-icon-button-light'], function (dialogHelper, datetime, $) { +define(['dialogHelper', 'datetime', 'jQuery', 'emby-checkbox', 'emby-input', 'emby-select', 'paper-item-body', 'paper-icon-item', 'paper-textarea', 'paper-fab', 'paper-icon-button-light'], function (dialogHelper, datetime, $) { var currentContext; var metadataEditorInfo; @@ -509,11 +509,11 @@ var labelText = Globalize.translate('LabelDynamicExternalId').replace('{0}', idInfo.Name); - html += '
'; + html += '
'; var value = providerIds[idInfo.Key] || ''; - html += ''; + html += ''; if (formatString) { html += ''; @@ -691,14 +691,14 @@ } if (item.Type == "Person") { - context.querySelector('#txtProductionYear').label = Globalize.translate('LabelBirthYear'); - context.querySelector("#txtPremiereDate").label = Globalize.translate('LabelBirthDate'); - context.querySelector("#txtEndDate").label = Globalize.translate('LabelDeathDate'); + context.querySelector('#txtProductionYear').label(Globalize.translate('LabelBirthYear')); + context.querySelector("#txtPremiereDate").label(Globalize.translate('LabelBirthDate')); + context.querySelector("#txtEndDate").label(Globalize.translate('LabelDeathDate')); $('#fldPlaceOfBirth', context).show(); } else { - context.querySelector('#txtProductionYear').label = Globalize.translate('LabelYear'); - context.querySelector("#txtPremiereDate").label = Globalize.translate('LabelReleaseDate'); - context.querySelector("#txtEndDate").label = Globalize.translate('LabelEndDate'); + context.querySelector('#txtProductionYear').label(Globalize.translate('LabelYear')); + context.querySelector("#txtPremiereDate").label(Globalize.translate('LabelReleaseDate')); + context.querySelector("#txtEndDate").label(Globalize.translate('LabelEndDate')); $('#fldPlaceOfBirth', context).hide(); } @@ -712,13 +712,13 @@ $('#fldIndexNumber', context).show(); if (item.Type == "Episode") { - context.querySelector('#txtIndexNumber').label = Globalize.translate('LabelEpisodeNumber'); + context.querySelector('#txtIndexNumber').label(Globalize.translate('LabelEpisodeNumber')); } else if (item.Type == "Season") { - context.querySelector('#txtIndexNumber').label = Globalize.translate('LabelSeasonNumber'); + context.querySelector('#txtIndexNumber').label(Globalize.translate('LabelSeasonNumber')); } else if (item.Type == "Audio") { - context.querySelector('#txtIndexNumber').label = Globalize.translate('LabelTrackNumber'); + context.querySelector('#txtIndexNumber').label(Globalize.translate('LabelTrackNumber')); } else { - context.querySelector('#txtIndexNumber').label = Globalize.translate('LabelNumber'); + context.querySelector('#txtIndexNumber').label(Globalize.translate('LabelNumber')); } } else { $('#fldIndexNumber', context).hide(); @@ -728,11 +728,11 @@ $('#fldParentIndexNumber', context).show(); if (item.Type == "Episode") { - context.querySelector('#txtParentIndexNumber').label = Globalize.translate('LabelSeasonNumber'); + context.querySelector('#txtParentIndexNumber').label(Globalize.translate('LabelSeasonNumber')); } else if (item.Type == "Audio") { - context.querySelector('#txtParentIndexNumber').label = Globalize.translate('LabelDiscNumber'); + context.querySelector('#txtParentIndexNumber').label(Globalize.translate('LabelDiscNumber')); } else { - context.querySelector('#txtParentIndexNumber').label = Globalize.translate('LabelParentNumber'); + context.querySelector('#txtParentIndexNumber').label(Globalize.translate('LabelParentNumber')); } } else { $('#fldParentIndexNumber', context).hide(); @@ -741,7 +741,6 @@ if (item.Type == "BoxSet") { $('#fldDisplayOrder', context).show(); - $('#labelDisplayOrder', context).html(Globalize.translate('LabelTitleDisplayOrder')); $('#selectDisplayOrder', context).html(''); } else { $('#selectDisplayOrder', context).html(''); @@ -1049,7 +1048,10 @@ var name = field.name; var value = field.value || field.name; var checkedHtml = currentFields.indexOf(value) == -1 ? ' checked' : ''; - html += '' + name + ''; + html += ''; } return html; } diff --git a/dashboard-ui/components/metadataeditor/metadataeditor.template.html b/dashboard-ui/components/metadataeditor/metadataeditor.template.html index bc43258a92..36ae8c9ef0 100644 --- a/dashboard-ui/components/metadataeditor/metadataeditor.template.html +++ b/dashboard-ui/components/metadataeditor/metadataeditor.template.html @@ -16,135 +16,147 @@
-