1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

hide queue button if nothing playing, poster links to item details

This commit is contained in:
Techywarrior 2013-04-17 18:51:31 -07:00
parent 2a9a088a9e
commit c8c84652b9
3 changed files with 6 additions and 3 deletions

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="playlistPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="playlistPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Playlist</h1> <img src="css/images/home.png"></a>Now Playing</h1>
<div data-role="content"> <div data-role="content">

View file

@ -38,7 +38,10 @@
if (MediaPlayer.canPlay(item)) { if (MediaPlayer.canPlay(item)) {
$('#btnPlayMenu', page).show(); $('#btnPlayMenu', page).show();
$('#playButtonShadow', page).show(); $('#playButtonShadow', page).show();
$('#btnQueueMenu', page).show(); if (MediaPlayer.isPlaying())
$('#btnQueueMenu', page).show();
else
$('#btnQueueMenu', page).hide();
} else { } else {
$('#btnPlayMenu', page).hide(); $('#btnPlayMenu', page).hide();
$('#playButtonShadow', page).hide(); $('#playButtonShadow', page).hide();

View file

@ -307,7 +307,7 @@
seriesName = item.SeriesName || item.Album || item.ProductionYear; seriesName = item.SeriesName || item.Album || item.ProductionYear;
} }
html += "<div><img class='nowPlayingBarImage ' alt='' title='' src='" + url + "' style='height:36px;display:inline-block;' /></div>"; html += "<div><a href='itemdetails.html?id="+item.Id+"'><img class='nowPlayingBarImage ' alt='' title='' src='" + url + "' style='height:36px;display:inline-block;' /></a></div>";
if (item.Type == "Movie") if (item.Type == "Movie")
html += '<div>' + name + '<br/>' + seriesName + '</div>'; html += '<div>' + name + '<br/>' + seriesName + '</div>';
else else