1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

hide library monitor from certain operating systems

This commit is contained in:
Luke Pulverenti 2015-10-03 14:13:53 -04:00
parent a651d5208d
commit 2ebea85514
7 changed files with 22 additions and 15 deletions

View file

@ -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"
}

View file

@ -5,7 +5,7 @@
function getStoreFeatureId(feature) {
if (feature == 'embypremieremonthly') {
return "emby.supporter.monthly";
return "emby.supporter.weekly";
}
return "com.mb.android.unlock";

View file

@ -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 {

View file

@ -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>

View file

@ -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);

View file

@ -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 {

View file

@ -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;
}