1
0
Fork 0
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:
Luke Pulverenti 2016-03-28 13:49:30 -04:00
parent ee03ef4f51
commit 527fe10cbe
3 changed files with 18 additions and 7 deletions

View file

@ -411,6 +411,10 @@ body:not(.dashboardDocument) .btnNotifications {
top: 65px !important;
}
.adminDrawerPanel:not([narrow]) .mainDrawerButton {
display: none !important;
}
.adminDrawerPanel .sidebarLink {
color: #333 !important;
font-weight: 400 !important;
@ -480,6 +484,7 @@ body:not(.dashboardDocument) .btnNotifications {
.adminDrawerPanel:not([narrow]) .libraryMenuButtonText {
font-size: 150%;
margin-left: 1em;
}
.title-separator {

View file

@ -373,7 +373,9 @@
collapsible.expanded = true;
}
var title = collapsible.title || '';
var title = '';
title += collapsible.title || '';
title += '<span class="title-separator"></span>';
title += (link.innerText || link.textContent).trim();
@ -650,7 +652,7 @@
setTitle: function (title) {
var html = '<span>' + title + '</span>';
var html = title ;
var page = $.mobile.activePage;
if (page) {

View file

@ -665,7 +665,9 @@ var Dashboard = {
var icon = item.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">';
@ -689,6 +691,7 @@ var Dashboard = {
if (item.items) {
if (item.icon) {
var style = item.color ? ' style="color:' + item.color + '"' : '';
menuHtml += '<emby-collapsible icon="' + item.icon + '" title="' + item.name + '">';
} else {
menuHtml += '<emby-collapsible title="' + item.name + '">';
@ -716,6 +719,7 @@ var Dashboard = {
return [{
name: Globalize.translate('TabServer'),
icon: 'dashboard',
color: '#38c',
items: [
{
name: Globalize.translate('TabDashboard'),