mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix hover menus
This commit is contained in:
parent
b2e32e64ae
commit
f4473116d1
5 changed files with 19 additions and 5 deletions
|
@ -156,7 +156,7 @@
|
||||||
|
|
||||||
function onCardOverlayButtonsClick(e) {
|
function onCardOverlayButtonsClick(e) {
|
||||||
|
|
||||||
var button = dom.parentWithTag(e.target, 'BUTTON');
|
var button = dom.parentWithClass(e.target, 'btnUserData');
|
||||||
if (button) {
|
if (button) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,7 +239,7 @@ html .ui-bar-a a,
|
||||||
html .ui-body-a a,
|
html .ui-body-a a,
|
||||||
html body .ui-group-theme-a a {
|
html body .ui-group-theme-a a {
|
||||||
color: #388E3C /*{a-link-color}*/;
|
color: #388E3C /*{a-link-color}*/;
|
||||||
font-weight: bold;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-page-theme-a a:visited,
|
.ui-page-theme-a a:visited,
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
<p class="localUrl"></p>
|
<p class="localUrl"></p>
|
||||||
<p class="externalUrl"></p>
|
<p class="externalUrl"></p>
|
||||||
|
<p class="hide"><a class="btnConnectionHelp" href="#">${HowToConnectFromEmbyApps}</a></p>
|
||||||
<div style="margin-top: 1em;">
|
<div style="margin-top: 1em;">
|
||||||
<button is="emby-button" type="button" class="raised subdued btnRestartContainer hide" onclick="DashboardPage.restart();">
|
<button is="emby-button" type="button" class="raised subdued btnRestartContainer hide" onclick="DashboardPage.restart();">
|
||||||
<i class="md-icon">refresh</i>
|
<i class="md-icon">refresh</i>
|
||||||
|
|
|
@ -16,10 +16,23 @@
|
||||||
renderNoHealthAlertsMessage(page);
|
renderNoHealthAlertsMessage(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onConnectionHelpClick(e) {
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
window.DashboardPage = {
|
window.DashboardPage = {
|
||||||
|
|
||||||
newsStartIndex: 0,
|
newsStartIndex: 0,
|
||||||
|
|
||||||
|
onPageInit: function () {
|
||||||
|
|
||||||
|
var page = this;
|
||||||
|
|
||||||
|
page.querySelector('#btnConnectionHelp').addEventListener('click', onConnectionHelpClick);
|
||||||
|
},
|
||||||
|
|
||||||
onPageShow: function () {
|
onPageShow: function () {
|
||||||
|
|
||||||
var page = this;
|
var page = this;
|
||||||
|
@ -1026,7 +1039,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).on('pageshow', "#dashboardPage", DashboardPage.onPageShow).on('pagebeforehide', "#dashboardPage", DashboardPage.onPageHide);
|
$(document).on('pageinit', "#dashboardPage", DashboardPage.onPageInit).on('pageshow', "#dashboardPage", DashboardPage.onPageShow).on('pagebeforehide', "#dashboardPage", DashboardPage.onPageHide);
|
||||||
|
|
||||||
(function ($, document, window) {
|
(function ($, document, window) {
|
||||||
|
|
||||||
|
|
|
@ -2223,5 +2223,6 @@
|
||||||
"LabelMaxAudioFileBitrate": "Max audio file bitrate:",
|
"LabelMaxAudioFileBitrate": "Max audio file bitrate:",
|
||||||
"LabelMaxAudioFileBitrateHelp": "Audio files with a higher bitrate will be converted by Emby Server. Select a higher value for better quality, or a lower value to conserve local storage space.",
|
"LabelMaxAudioFileBitrateHelp": "Audio files with a higher bitrate will be converted by Emby Server. Select a higher value for better quality, or a lower value to conserve local storage space.",
|
||||||
"LabelVaapiDevice": "VA API Device:",
|
"LabelVaapiDevice": "VA API Device:",
|
||||||
"LabelVaapiDeviceHelp": "This is the render node that is used for hardware acceleration."
|
"LabelVaapiDeviceHelp": "This is the render node that is used for hardware acceleration.",
|
||||||
|
"HowToConnectFromEmbyApps": "How to Connect from Emby apps"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue