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:
parent
a651d5208d
commit
2ebea85514
7 changed files with 22 additions and 15 deletions
|
@ -25,14 +25,14 @@
|
||||||
"web-component-tester": "*",
|
"web-component-tester": "*",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/polymerelements/iron-meta",
|
"homepage": "https://github.com/PolymerElements/iron-meta",
|
||||||
"_release": "1.0.3",
|
"_release": "1.0.3",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.3",
|
"tag": "v1.0.3",
|
||||||
"commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04"
|
"commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-meta.git",
|
"_source": "git://github.com/PolymerElements/iron-meta.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-meta"
|
"_originalSource": "PolymerElements/iron-meta"
|
||||||
}
|
}
|
2
dashboard-ui/cordova/android/iap.js
vendored
2
dashboard-ui/cordova/android/iap.js
vendored
|
@ -5,7 +5,7 @@
|
||||||
function getStoreFeatureId(feature) {
|
function getStoreFeatureId(feature) {
|
||||||
|
|
||||||
if (feature == 'embypremieremonthly') {
|
if (feature == 'embypremieremonthly') {
|
||||||
return "emby.supporter.monthly";
|
return "emby.supporter.weekly";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "com.mb.android.unlock";
|
return "com.mb.android.unlock";
|
||||||
|
|
|
@ -16,10 +16,9 @@
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background-theme-b {
|
.background-theme-b, paper-dialog.background-theme-b {
|
||||||
background-color: #242424;
|
background-color: #242424;
|
||||||
background: radial-gradient(circle, #282828, #141414) !important;
|
background: radial-gradient(circle, #282828, #141414) fixed;
|
||||||
background-attachment: fixed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-body-b {
|
.ui-body-b {
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li class="fldLibraryMonitor hide">
|
||||||
<label for="selectEnableRealtimeMonitor">${LabelEnableRealtimeMonitor}</label>
|
<label for="selectEnableRealtimeMonitor">${LabelEnableRealtimeMonitor}</label>
|
||||||
<select id="selectEnableRealtimeMonitor" data-mini="true">
|
<select id="selectEnableRealtimeMonitor" data-mini="true">
|
||||||
<option value="Auto">${OptionAuto}</option>
|
<option value="Auto">${OptionAuto}</option>
|
||||||
|
|
|
@ -56,6 +56,15 @@
|
||||||
var page = this;
|
var page = this;
|
||||||
|
|
||||||
$('.librarySettingsForm').off('submit', onSubmit).on('submit', onSubmit);
|
$('.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);
|
})(jQuery, document, window);
|
||||||
|
|
|
@ -6,9 +6,8 @@
|
||||||
background-color: rgba(15, 15, 15, .50);
|
background-color: rgba(15, 15, 15, .50);
|
||||||
}
|
}
|
||||||
|
|
||||||
.background-theme-b {
|
.background-theme-b, paper-dialog.background-theme-b {
|
||||||
background: radial-gradient(circle, #282828, #141414) !important;
|
background: #202020;
|
||||||
background-attachment: fixed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.backdropContainer .pageBackground {
|
.backdropContainer .pageBackground {
|
||||||
|
|
|
@ -32,9 +32,8 @@ body {
|
||||||
background-attachment: initial;
|
background-attachment: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background-theme-b {
|
.background-theme-b, paper-dialog.background-theme-b {
|
||||||
background: radial-gradient(circle, #303030, #101010) !important;
|
background: radial-gradient(circle, #303030, #101010) fixed;
|
||||||
background-attachment: fixed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.backdropContainer .pageBackground {
|
.backdropContainer .pageBackground {
|
||||||
|
@ -234,6 +233,7 @@ paper-tab {
|
||||||
.nowPlayingPage {
|
.nowPlayingPage {
|
||||||
padding-top: 50px !important;
|
padding-top: 50px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.localSyncStatus .labelSyncStatus {
|
.localSyncStatus .labelSyncStatus {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue