mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed dlna user reporting
This commit is contained in:
parent
6429e4e379
commit
0b911596eb
4 changed files with 5 additions and 27 deletions
|
@ -384,6 +384,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div data-role="popup" data-transition="slidefade" class="popupIdentify popup" data-theme="a">
|
<div data-role="popup" data-transition="slidefade" class="popupIdentify popup" data-theme="a">
|
||||||
|
<a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-b ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a>
|
||||||
|
|
||||||
<div class="ui-bar-a" style="text-align: center; padding: 0 20px; position: relative;">
|
<div class="ui-bar-a" style="text-align: center; padding: 0 20px; position: relative;">
|
||||||
|
|
||||||
|
@ -397,7 +398,7 @@
|
||||||
|
|
||||||
<form class="popupIdentifyForm" style="max-width: initial;">
|
<form class="popupIdentifyForm" style="max-width: initial;">
|
||||||
|
|
||||||
<p>Enter one or more search criteria.</p>
|
<p>Enter one or more search criteria. Remove criteria to increase search results.</p>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="txtLookupName">Name:</label>
|
<label for="txtLookupName">Name:</label>
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
<h1 class="listHeader"><a href="itemlist.html">Media Folders<img src="css/images/rightarrow.png" class="headerArrowImage" /></a></h1>
|
<h1 class="listHeader"><a href="itemlist.html">Media Folders<img src="css/images/rightarrow.png" class="headerArrowImage" /></a></h1>
|
||||||
|
|
||||||
<div id="divCollections"></div>
|
<div id="divCollections"></div>
|
||||||
|
|
||||||
<div id="tip" class="ui-bar-a" style="padding: .75em; font-weight: normal; margin: 2em 0; display: none;"></div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,27 +1,5 @@
|
||||||
(function ($, document, apiClient) {
|
(function ($, document, apiClient) {
|
||||||
|
|
||||||
function reloadTips(page) {
|
|
||||||
|
|
||||||
var tips = [
|
|
||||||
'Did you know that editing the artist or album of a music video will allow it to appear on the artist and album pages?',
|
|
||||||
'Did you know that editing the tmdb id, tvdb id, and/or games db id of an album will allow media browser to link it to a movie, series or game as a soundtrack?',
|
|
||||||
'Did you know that you can re-order your media folders by editing their sort names?',
|
|
||||||
'Did you know that series, seasons, games and boxsets can have local trailers?',
|
|
||||||
'Did you know that movies can have special features by placing them in a "specials" sub-folder underneath the movie folder?',
|
|
||||||
'Did you know that the trailer plugin can automatically download trailers for existing movies in your collection?'
|
|
||||||
];
|
|
||||||
|
|
||||||
var random = Math.floor((Math.random() * tips.length * 1.5));
|
|
||||||
|
|
||||||
var tip = tips[random];
|
|
||||||
|
|
||||||
if (tip) {
|
|
||||||
$('#tip', page).html(tip).show();
|
|
||||||
} else {
|
|
||||||
$('#tip', page).hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function getViewHtml(view) {
|
function getViewHtml(view) {
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
|
@ -242,8 +220,6 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
reloadTips(page);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery, document, ApiClient);
|
})(jQuery, document, ApiClient);
|
|
@ -210,6 +210,9 @@
|
||||||
|
|
||||||
if (elem.length) {
|
if (elem.length) {
|
||||||
elem[0].scrollIntoView();
|
elem[0].scrollIntoView();
|
||||||
|
|
||||||
|
// Scroll back up so in case vertical scroll was messed with
|
||||||
|
$(document).scrollTop(0);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue