hide library monitor from certain operating systems
This commit is contained in:
+3
-3
@@ -25,14 +25,14 @@
|
||||
"web-component-tester": "*",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"homepage": "https://github.com/polymerelements/iron-meta",
|
||||
"homepage": "https://github.com/PolymerElements/iron-meta",
|
||||
"_release": "1.0.3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.3",
|
||||
"commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-meta.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-meta.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-meta"
|
||||
"_originalSource": "PolymerElements/iron-meta"
|
||||
}
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
function getStoreFeatureId(feature) {
|
||||
|
||||
if (feature == 'embypremieremonthly') {
|
||||
return "emby.supporter.monthly";
|
||||
return "emby.supporter.weekly";
|
||||
}
|
||||
|
||||
return "com.mb.android.unlock";
|
||||
|
||||
@@ -16,10 +16,9 @@
|
||||
margin-left: .5em;
|
||||
}
|
||||
|
||||
.background-theme-b {
|
||||
.background-theme-b, paper-dialog.background-theme-b {
|
||||
background-color: #242424;
|
||||
background: radial-gradient(circle, #282828, #141414) !important;
|
||||
background-attachment: fixed;
|
||||
background: radial-gradient(circle, #282828, #141414) fixed;
|
||||
}
|
||||
|
||||
.ui-body-b {
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
</div>
|
||||
<br />
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<li class="fldLibraryMonitor hide">
|
||||
<label for="selectEnableRealtimeMonitor">${LabelEnableRealtimeMonitor}</label>
|
||||
<select id="selectEnableRealtimeMonitor" data-mini="true">
|
||||
<option value="Auto">${OptionAuto}</option>
|
||||
|
||||
@@ -56,6 +56,15 @@
|
||||
var page = this;
|
||||
|
||||
$('.librarySettingsForm').off('submit', onSubmit).on('submit', onSubmit);
|
||||
|
||||
ApiClient.getSystemInfo().done(function (systemInfo) {
|
||||
|
||||
if (systemInfo.SupportsLibraryMonitor) {
|
||||
page.querySelector('.fldLibraryMonitor').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.fldLibraryMonitor').classList.add('hide');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
})(jQuery, document, window);
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
background-color: rgba(15, 15, 15, .50);
|
||||
}
|
||||
|
||||
.background-theme-b {
|
||||
background: radial-gradient(circle, #282828, #141414) !important;
|
||||
background-attachment: fixed;
|
||||
.background-theme-b, paper-dialog.background-theme-b {
|
||||
background: #202020;
|
||||
}
|
||||
|
||||
.backdropContainer .pageBackground {
|
||||
|
||||
@@ -32,9 +32,8 @@ body {
|
||||
background-attachment: initial;
|
||||
}
|
||||
|
||||
.background-theme-b {
|
||||
background: radial-gradient(circle, #303030, #101010) !important;
|
||||
background-attachment: fixed;
|
||||
.background-theme-b, paper-dialog.background-theme-b {
|
||||
background: radial-gradient(circle, #303030, #101010) fixed;
|
||||
}
|
||||
|
||||
.backdropContainer .pageBackground {
|
||||
@@ -234,6 +233,7 @@ paper-tab {
|
||||
.nowPlayingPage {
|
||||
padding-top: 50px !important;
|
||||
}
|
||||
|
||||
.localSyncStatus .labelSyncStatus {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user