mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added in-app help
This commit is contained in:
parent
b2cbf5ecb4
commit
51ce474ec4
4 changed files with 25 additions and 11 deletions
|
@ -4,7 +4,7 @@
|
|||
<title>${TitlePlayback}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="cinemaModeConfigurationPage" data-role="page" class="page type-interior playbackConfigurationPage">
|
||||
<div id="cinemaModeConfigurationPage" data-role="page" class="page type-interior playbackConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Cinema-Mode">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
|
|
@ -1079,7 +1079,7 @@ progress {
|
|||
|
||||
.accentButton {
|
||||
display: inline-block;
|
||||
background: rgba(51, 136, 204, .7);
|
||||
background: rgba(51, 136, 204, .8);
|
||||
border-radius: 1000px;
|
||||
padding: 4px 12px;
|
||||
color: #fff !important;
|
||||
|
@ -1088,13 +1088,17 @@ progress {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.accentButton:hover {
|
||||
opacity: .5;
|
||||
}
|
||||
.accentButton-g {
|
||||
background: #52B54B;
|
||||
}
|
||||
|
||||
.accentButton .fa:not(.notext) {
|
||||
.accentButton:hover {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.accentButton .fa:not(.notext) {
|
||||
margin-right: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
h1 + .accentButton {
|
||||
margin: 18px 0 0 20px;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>${TitleMediaLibrary}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mediaLibraryPage" data-role="page" class="page type-interior mediaLibraryPage">
|
||||
<div id="mediaLibraryPage" data-role="page" class="page type-interior mediaLibraryPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Library%20setup">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
@ -14,7 +14,6 @@
|
|||
<a href="librarysettings.html" data-role="button">${TabAdvanced}</a>
|
||||
</div>
|
||||
<div class="readOnlyContent">
|
||||
<p style="margin: 2em 0;"><a href="https://github.com/MediaBrowser/Wiki/wiki/Library%20setup" target="_blank">${ReferToMediaLibraryWiki}</a></p>
|
||||
<div id="divMediaLibrary">
|
||||
<p>
|
||||
<button type="button" data-mini="true" data-icon="plus" data-iconpos="right" onclick="MediaLibraryPage.addVirtualFolder();">${ButtonAddMediaFolder}</button>
|
||||
|
|
|
@ -1095,7 +1095,18 @@ var Dashboard = {
|
|||
parent = $('.ui-content', page)[0];
|
||||
}
|
||||
|
||||
$(parent).prepend("<h1 class='pageTitle'>" + (document.title || " ") + "</h1>");
|
||||
var helpUrl = page.attr('data-helpurl');
|
||||
|
||||
var html = '<div>';
|
||||
html += '<h1 class="pageTitle" style="display:inline-block;">' + (document.title || ' ') + '</h1>';
|
||||
|
||||
if (helpUrl) {
|
||||
html += '<a href="' + helpUrl + '" target="_blank" class="accentButton accentButton-g" style="margin-top:-10px;"><i class="fa fa-info-circle"></i>' + Globalize.translate('ButtonHelp') + '</a>';
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
|
||||
$(parent).prepend(html);
|
||||
},
|
||||
|
||||
setPageTitle: function (title) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue