diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index eed42b14d5..cd1fbc6134 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -149,16 +149,16 @@ h1 a:hover { } .largePanel { - width: 250px; + width: 270px; } /* Make panels larger */ .largePanelModalOpen.ui-panel-dismiss-position-right { - right: 250px !important; + right: 270px !important; } .largePanelModalOpen.ui-panel-dismiss-position-left { - left: 250px !important; + left: 270px !important; } diff --git a/dashboard-ui/scripts/livetvstatus.js b/dashboard-ui/scripts/livetvstatus.js index 8eaeb203c1..308e033c6b 100644 --- a/dashboard-ui/scripts/livetvstatus.js +++ b/dashboard-ui/scripts/livetvstatus.js @@ -176,7 +176,7 @@ var task = tasks.filter(function (t) { - return t.Name == 'Refresh Guide'; + return t.Key == 'RefreshGuide'; })[0]; diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index 5c5519312b..8281c5df28 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -376,7 +376,7 @@ var WizardLibraryPage = { var task = tasks.filter(function (t) { - return t.Name == 'Scan media library'; + return t.Key == 'RefreshLibrary'; })[0]; diff --git a/dashboard-ui/scripts/sync.js b/dashboard-ui/scripts/sync.js index 64ec43291d..8aeaefeba1 100644 --- a/dashboard-ui/scripts/sync.js +++ b/dashboard-ui/scripts/sync.js @@ -35,9 +35,12 @@ return i.Id || i; }).join(','), - Quality: $('.radioSyncQuality', form)[0].getAttribute('data-value'), + Quality: $('#selectQuality', form).val(), - Name: $('#txtSyncJobName', form).val() + Name: $('#txtSyncJobName', form).val(), + + SyncNewContent: $('#chkSyncNewContent', form).checked(), + UnwatchedOnly: $('#chkUnwatchedOnly', form).checked() }; ApiClient.ajax({ @@ -104,17 +107,35 @@ html += '
'; html += '
'; - html += '
'; - html += '' + Globalize.translate('LabelQuality') + ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += '
'; + html += ''; + html += ''; html += '
'; + //html += '
'; + //html += '

' + Globalize.translate('HeaderSettings') + '

'; + //html += '
'; + + html += '
'; + html += '
'; + html += ''; + html += ''; + html += '
' + Globalize.translate('OptionAutomaticallySyncNewContentHelp') + '
'; + html += '
'; + + html += '
'; + html += '
'; + html += ''; + html += ''; + html += '
' + Globalize.translate('OptionSyncUnwatchedVideosOnlyHelp') + '
'; + html += '
'; + + //html += '
'; + //html += '
'; + html += '
'; html += '

'; html += '';