diff --git a/dashboard-ui/css/notifications.css b/dashboard-ui/css/notifications.css index 1e1a6b9b31..d2c5e5415a 100644 --- a/dashboard-ui/css/notifications.css +++ b/dashboard-ui/css/notifications.css @@ -8,23 +8,27 @@ } .btnNotificationsInner { - color: #aaa; - font-weight: 500; + color: #fff; + font-weight: 300; display: none; + position: relative; + top: -6px; + padding: 5px 10px; + border-radius: 1000px; } .levelNormal { - color: #4d90fe; + background-color: #4d90fe; display: block; } .levelWarning { - color: #FF7537; + background-color: #FF7537; display: block; } .levelError { - color: #d14836; + background-color: #d14836; display: block; } diff --git a/dashboard-ui/scripts/sync.js b/dashboard-ui/scripts/sync.js index 3018d62af4..e6d606196e 100644 --- a/dashboard-ui/scripts/sync.js +++ b/dashboard-ui/scripts/sync.js @@ -99,7 +99,9 @@ html += targets.map(function (t) { - return ''; + var isSelected = t.Id == AppInfo.deviceId; + var selectedHtml = isSelected ? ' selected="selected"' : ''; + return '' + t.Name + ''; }).join(''); html += ''; @@ -134,15 +136,6 @@ html += ''; html += ''; - if (dialogOptions.Options.indexOf('SyncNewContent') != -1) { - html += '
'; - html += '
'; - html += ''; - html += ''; - html += '
' + Globalize.translate('OptionAutomaticallySyncNewContentHelp') + '
'; - html += '
'; - } - if (dialogOptions.Options.indexOf('UnwatchedOnly') != -1) { html += '
'; html += '
'; @@ -152,12 +145,31 @@ html += '
'; } - if (dialogOptions.Options.indexOf('ItemLimit') != -1) { + if (dialogOptions.Options.indexOf('SyncNewContent') != -1 || + dialogOptions.Options.indexOf('ItemLimit') != -1) { + html += '
'; - html += '
'; - html += ''; - html += ''; - html += '
' + Globalize.translate('LabelItemLimitHelp') + '
'; + html += '
'; + html += '

' + Globalize.translate('HeaderAdvanced') + '

'; + html += '
'; + if (dialogOptions.Options.indexOf('SyncNewContent') != -1) { + html += '
'; + html += '
'; + html += ''; + html += ''; + html += '
' + Globalize.translate('OptionAutomaticallySyncNewContentHelp') + '
'; + html += '
'; + } + + if (dialogOptions.Options.indexOf('ItemLimit') != -1) { + html += '
'; + html += '
'; + html += ''; + html += ''; + html += '
' + Globalize.translate('LabelItemLimitHelp') + '
'; + html += '
'; + } + html += '
'; html += '
'; }