mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update header
This commit is contained in:
parent
ecffa43ce4
commit
04963cbcfb
5 changed files with 28 additions and 13 deletions
|
@ -32,14 +32,14 @@
|
|||
"web-component-tester": "^4.0.0",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"homepage": "https://github.com/PolymerElements/iron-icon",
|
||||
"homepage": "https://github.com/polymerelements/iron-icon",
|
||||
"_release": "1.0.8",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.8",
|
||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
||||
"_source": "git://github.com/polymerelements/iron-icon.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "PolymerElements/iron-icon"
|
||||
"_originalSource": "polymerelements/iron-icon"
|
||||
}
|
|
@ -36,7 +36,7 @@
|
|||
"tag": "v1.3.0",
|
||||
"commit": "1662093611cda3fd29125cdab94a61d3d88093da"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-selector"
|
||||
"_originalSource": "PolymerElements/iron-selector"
|
||||
}
|
|
@ -34,14 +34,14 @@
|
|||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/polymerelements/paper-icon-button",
|
||||
"homepage": "https://github.com/PolymerElements/paper-icon-button",
|
||||
"_release": "1.0.7",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.7",
|
||||
"commit": "7623d73efeb6e2e88e2abdb5e4d00641d39e400f"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/paper-icon-button.git",
|
||||
"_source": "git://github.com/PolymerElements/paper-icon-button.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/paper-icon-button"
|
||||
"_originalSource": "PolymerElements/paper-icon-button"
|
||||
}
|
|
@ -362,10 +362,6 @@
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
.dashboardDocument .headerSearchButton {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body:not(.dashboardDocument) .btnNotifications {
|
||||
display: none !important;
|
||||
}
|
||||
|
@ -401,6 +397,10 @@ body:not(.dashboardDocument) .btnNotifications {
|
|||
background: #4d4d4d !important;
|
||||
}
|
||||
|
||||
.darkDrawerPanel .headerAppsButton {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.adminDrawerPanel #drawer {
|
||||
background: #fff !important;
|
||||
box-shadow: none !important;
|
||||
|
@ -487,6 +487,10 @@ body:not(.dashboardDocument) .btnNotifications {
|
|||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.adminDrawerPanel[narrow] .headerAppsButton {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.title-separator {
|
||||
margin: 0 .5em;
|
||||
}
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
html += '<paper-icon-button icon="menu" class="headerButton mainDrawerButton barsMenuButton headerButtonLeft"></paper-icon-button>';
|
||||
}
|
||||
|
||||
html += '<paper-icon-button icon="view-comfy" class="headerButton headerAppsButton barsMenuButton headerButtonLeft"></paper-icon-button>';
|
||||
|
||||
html += '<div class="libraryMenuButtonText headerButton">' + Globalize.translate('ButtonHome') + '</div>';
|
||||
|
||||
html += '<div class="viewMenuSecondary">';
|
||||
|
@ -181,6 +183,10 @@
|
|||
Dashboard.showUserFlyout(e.target);
|
||||
}
|
||||
|
||||
function onHeaderAppsButtonClick() {
|
||||
|
||||
}
|
||||
|
||||
function bindMenuEvents() {
|
||||
|
||||
var mainDrawerButton = document.querySelector('.mainDrawerButton');
|
||||
|
@ -204,6 +210,11 @@
|
|||
headerUserButton.addEventListener('click', onHeaderUserButtonClick);
|
||||
}
|
||||
|
||||
var headerAppsButton = document.querySelector('.headerAppsButton');
|
||||
if (headerAppsButton) {
|
||||
headerAppsButton.addEventListener('click', onHeaderAppsButtonClick);
|
||||
}
|
||||
|
||||
var viewMenuBar = document.querySelector(".viewMenuBar");
|
||||
initHeadRoom(viewMenuBar);
|
||||
|
||||
|
@ -652,7 +663,7 @@
|
|||
|
||||
setTitle: function (title) {
|
||||
|
||||
var html = title ;
|
||||
var html = title;
|
||||
|
||||
var page = $.mobile.activePage;
|
||||
if (page) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue