mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix parental control prompt
This commit is contained in:
parent
ee03ef4f51
commit
527fe10cbe
3 changed files with 18 additions and 7 deletions
|
@ -407,10 +407,14 @@ body:not(.dashboardDocument) .btnNotifications {
|
||||||
}
|
}
|
||||||
|
|
||||||
.adminDrawerPanel:not([narrow]) #drawer {
|
.adminDrawerPanel:not([narrow]) #drawer {
|
||||||
z-index: 998!important;
|
z-index: 998 !important;
|
||||||
top: 65px !important;
|
top: 65px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adminDrawerPanel:not([narrow]) .mainDrawerButton {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.adminDrawerPanel .sidebarLink {
|
.adminDrawerPanel .sidebarLink {
|
||||||
color: #333 !important;
|
color: #333 !important;
|
||||||
font-weight: 400 !important;
|
font-weight: 400 !important;
|
||||||
|
@ -469,9 +473,9 @@ body:not(.dashboardDocument) .btnNotifications {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adminDrawerLogo img {
|
.adminDrawerLogo img {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adminDrawerPanel #drawer #titleIcon {
|
.adminDrawerPanel #drawer #titleIcon {
|
||||||
color: #666;
|
color: #666;
|
||||||
|
@ -480,6 +484,7 @@ body:not(.dashboardDocument) .btnNotifications {
|
||||||
|
|
||||||
.adminDrawerPanel:not([narrow]) .libraryMenuButtonText {
|
.adminDrawerPanel:not([narrow]) .libraryMenuButtonText {
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
|
margin-left: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-separator {
|
.title-separator {
|
||||||
|
|
|
@ -373,7 +373,9 @@
|
||||||
collapsible.expanded = true;
|
collapsible.expanded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var title = collapsible.title || '';
|
var title = '';
|
||||||
|
|
||||||
|
title += collapsible.title || '';
|
||||||
title += '<span class="title-separator">–</span>';
|
title += '<span class="title-separator">–</span>';
|
||||||
title += (link.innerText || link.textContent).trim();
|
title += (link.innerText || link.textContent).trim();
|
||||||
|
|
||||||
|
@ -650,7 +652,7 @@
|
||||||
|
|
||||||
setTitle: function (title) {
|
setTitle: function (title) {
|
||||||
|
|
||||||
var html = '<span>' + title + '</span>';
|
var html = title ;
|
||||||
|
|
||||||
var page = $.mobile.activePage;
|
var page = $.mobile.activePage;
|
||||||
if (page) {
|
if (page) {
|
||||||
|
|
|
@ -665,7 +665,9 @@ var Dashboard = {
|
||||||
var icon = item.icon;
|
var icon = item.icon;
|
||||||
|
|
||||||
if (icon) {
|
if (icon) {
|
||||||
menuHtml += '<iron-icon icon="' + icon + '" class="sidebarLinkIcon"></iron-icon>';
|
var style = item.color ? ' style="color:' + item.color + '"' : '';
|
||||||
|
|
||||||
|
menuHtml += '<iron-icon icon="' + icon + '" class="sidebarLinkIcon"' + style + '></iron-icon>';
|
||||||
}
|
}
|
||||||
|
|
||||||
menuHtml += '<span class="sidebarLinkText">';
|
menuHtml += '<span class="sidebarLinkText">';
|
||||||
|
@ -689,6 +691,7 @@ var Dashboard = {
|
||||||
if (item.items) {
|
if (item.items) {
|
||||||
|
|
||||||
if (item.icon) {
|
if (item.icon) {
|
||||||
|
var style = item.color ? ' style="color:' + item.color + '"' : '';
|
||||||
menuHtml += '<emby-collapsible icon="' + item.icon + '" title="' + item.name + '">';
|
menuHtml += '<emby-collapsible icon="' + item.icon + '" title="' + item.name + '">';
|
||||||
} else {
|
} else {
|
||||||
menuHtml += '<emby-collapsible title="' + item.name + '">';
|
menuHtml += '<emby-collapsible title="' + item.name + '">';
|
||||||
|
@ -716,6 +719,7 @@ var Dashboard = {
|
||||||
return [{
|
return [{
|
||||||
name: Globalize.translate('TabServer'),
|
name: Globalize.translate('TabServer'),
|
||||||
icon: 'dashboard',
|
icon: 'dashboard',
|
||||||
|
color: '#38c',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
name: Globalize.translate('TabDashboard'),
|
name: Globalize.translate('TabDashboard'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue