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) {
|
||||
|
||||
var button = dom.parentWithTag(e.target, 'BUTTON');
|
||||
var button = dom.parentWithClass(e.target, 'btnUserData');
|
||||
if (button) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
|
|
@ -239,7 +239,7 @@ html .ui-bar-a a,
|
|||
html .ui-body-a a,
|
||||
html body .ui-group-theme-a a {
|
||||
color: #388E3C /*{a-link-color}*/;
|
||||
font-weight: bold;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ui-page-theme-a a:visited,
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<p class="localUrl"></p>
|
||||
<p class="externalUrl"></p>
|
||||
|
||||
<p class="hide"><a class="btnConnectionHelp" href="#">${HowToConnectFromEmbyApps}</a></p>
|
||||
<div style="margin-top: 1em;">
|
||||
<button is="emby-button" type="button" class="raised subdued btnRestartContainer hide" onclick="DashboardPage.restart();">
|
||||
<i class="md-icon">refresh</i>
|
||||
|
|
|
@ -16,10 +16,23 @@
|
|||
renderNoHealthAlertsMessage(page);
|
||||
}
|
||||
|
||||
function onConnectionHelpClick(e) {
|
||||
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
|
||||
window.DashboardPage = {
|
||||
|
||||
newsStartIndex: 0,
|
||||
|
||||
onPageInit: function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
page.querySelector('#btnConnectionHelp').addEventListener('click', onConnectionHelpClick);
|
||||
},
|
||||
|
||||
onPageShow: function () {
|
||||
|
||||
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) {
|
||||
|
||||
|
|
|
@ -2223,5 +2223,6 @@
|
|||
"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.",
|
||||
"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