mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
7de90af256
commit
c761f8d622
7 changed files with 15 additions and 41 deletions
|
@ -16,12 +16,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.1.92",
|
"version": "1.1.93",
|
||||||
"_release": "1.1.92",
|
"_release": "1.1.93",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.1.92",
|
"tag": "1.1.93",
|
||||||
"commit": "0a48f9a0b64a422c4466938b24aa983041a89f52"
|
"commit": "b8af5e03c6181c45ff28070b01a5bab4650a7292"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
||||||
"_target": "^1.1.51",
|
"_target": "^1.1.51",
|
||||||
|
|
|
@ -216,7 +216,7 @@
|
||||||
return connectUser;
|
return connectUser;
|
||||||
};
|
};
|
||||||
|
|
||||||
var minServerVersion = '3.0.6040';
|
var minServerVersion = '3.0.7000';
|
||||||
self.minServerVersion = function (val) {
|
self.minServerVersion = function (val) {
|
||||||
|
|
||||||
if (val) {
|
if (val) {
|
||||||
|
|
|
@ -152,7 +152,7 @@
|
||||||
.paper-icon-button-light > i {
|
.paper-icon-button-light > i {
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
font-size: 1.6em;
|
font-size: 1.7em;
|
||||||
/* Make sure its on top of the ripple */
|
/* Make sure its on top of the ripple */
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
|
@ -238,14 +238,8 @@ body:not(.dashboardDocument) .btnNotifications {
|
||||||
margin-left: 1.6em;
|
margin-left: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
i.sidebarLinkIcon {
|
|
||||||
font-size: 114%;
|
|
||||||
height: auto;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.darkDrawer i.sidebarLinkIcon {
|
.darkDrawer i.sidebarLinkIcon {
|
||||||
margin-left: 1.7em;
|
margin-left: 1.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.darkDrawer .sidebarLinkText, .darkDrawer .sidebarLink {
|
.darkDrawer .sidebarLinkText, .darkDrawer .sidebarLink {
|
||||||
|
|
|
@ -229,6 +229,7 @@ div[data-role='page'] {
|
||||||
color: #111 !important;
|
color: #111 !important;
|
||||||
font-weight: 500 !important;
|
font-weight: 500 !important;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
font-size: 110%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebarLink:hover {
|
.sidebarLink:hover {
|
||||||
|
|
|
@ -188,7 +188,12 @@
|
||||||
|
|
||||||
ApiClient.getSystemInfo().then(function (systemInfo) {
|
ApiClient.getSystemInfo().then(function (systemInfo) {
|
||||||
|
|
||||||
page.querySelector('.fldSelectEncoderPathType').classList.remove('hide');
|
if (systemInfo.EncoderLocationType == "External") {
|
||||||
|
page.querySelector('.fldSelectEncoderPathType').classList.add('hide');
|
||||||
|
} else {
|
||||||
|
page.querySelector('.fldSelectEncoderPathType').classList.remove('hide');
|
||||||
|
}
|
||||||
|
|
||||||
loadPage(page, config, systemInfo);
|
loadPage(page, config, systemInfo);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -402,33 +402,7 @@
|
||||||
|
|
||||||
return apiClient.getUserViews({}, userId).then(function (result) {
|
return apiClient.getUserViews({}, userId).then(function (result) {
|
||||||
|
|
||||||
var items = result.Items;
|
return result.Items;
|
||||||
|
|
||||||
var list = [];
|
|
||||||
|
|
||||||
for (var i = 0, length = items.length; i < length; i++) {
|
|
||||||
|
|
||||||
var view = items[i];
|
|
||||||
|
|
||||||
list.push(view);
|
|
||||||
|
|
||||||
if (view.CollectionType == 'livetv') {
|
|
||||||
|
|
||||||
view.ImageTags = {};
|
|
||||||
view.icon = 'live_tv';
|
|
||||||
view.onclick = "LibraryBrowser.showTab('livetv.html', 0);";
|
|
||||||
|
|
||||||
var guideView = Object.assign({}, view);
|
|
||||||
guideView.Name = Globalize.translate('ButtonGuide');
|
|
||||||
guideView.ImageTags = {};
|
|
||||||
guideView.icon = 'dvr';
|
|
||||||
guideView.url = 'livetv.html?tab=1';
|
|
||||||
guideView.onclick = "LibraryBrowser.showTab('livetv.html', 1);";
|
|
||||||
list.push(guideView);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return list;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue