mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
improved item by name displays
This commit is contained in:
parent
d0fbbcf721
commit
641e9b945e
4 changed files with 14 additions and 8 deletions
|
@ -172,10 +172,10 @@
|
||||||
html += '<label for="radioShows">TV Shows (' + result.SeriesCount + ')</label>';
|
html += '<label for="radioShows">TV Shows (' + result.SeriesCount + ')</label>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.EpisodeGuestStarCount) {
|
if (result.EpisodeCount) {
|
||||||
|
|
||||||
html += '<input type="radio" name="ibnItems" id="radioGuestStar" value="on" data-mini="true">';
|
html += '<input type="radio" name="ibnItems" id="radioEpisodes" value="on" data-mini="true">';
|
||||||
html += '<label for="radioGuestStar">Guest Star (' + result.EpisodeGuestStarCount + ')</label>';
|
html += '<label for="radioEpisodes">Episodes (' + result.EpisodeCount + ')</label>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.TrailerCount) {
|
if (result.TrailerCount) {
|
||||||
|
@ -266,13 +266,13 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#radioGuestStar", page).on("click", function () {
|
$("#radioEpisodes", page).on("click", function () {
|
||||||
|
|
||||||
shape = "backdrop";
|
shape = "backdrop";
|
||||||
loadItems(page, {
|
loadItems(page, {
|
||||||
MediaTypes: "",
|
MediaTypes: "",
|
||||||
IncludeItemTypes: "Episode",
|
IncludeItemTypes: "Episode",
|
||||||
PersonTypes: "GuestStar",
|
PersonTypes: "",
|
||||||
Artists: ""
|
Artists: ""
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
var html = '';
|
var html = '';
|
||||||
var plugin = availablePlugins[i];
|
var plugin = availablePlugins[i];
|
||||||
|
|
||||||
html += "<a class='posterItem backdropPosterItem transparentPosterItem' href='addPlugin.html?name=" + encodeURIComponent(plugin.name) + "'>";
|
html += "<a style='border:0;' class='posterItem backdropPosterItem transparentPosterItem' href='addPlugin.html?name=" + encodeURIComponent(plugin.name) + "'>";
|
||||||
|
|
||||||
if (plugin.thumbImage) {
|
if (plugin.thumbImage) {
|
||||||
html += '<div class="posterItemImage" style="background-image:url(\'' + plugin.thumbImage + '\');"></div>';
|
html += '<div class="posterItemImage" style="background-image:url(\'' + plugin.thumbImage + '\');"></div>';
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
SortBy: "SortName",
|
SortBy: "SortName",
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
IncludeItemTypes: "Series,Season,Episode",
|
IncludeItemTypes: "Series,Episode",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "ItemCounts,DateCreated,UserData",
|
Fields: "ItemCounts,DateCreated,UserData",
|
||||||
PersonTypes: "",
|
PersonTypes: "",
|
||||||
|
|
|
@ -75,7 +75,13 @@
|
||||||
|
|
||||||
<input class="chkPersonTypeFilter" type="checkbox" name="chkGuestStars" id="chkGuestStars" data-theme="c" data-filter="GuestStar" data-mini="true">
|
<input class="chkPersonTypeFilter" type="checkbox" name="chkGuestStars" id="chkGuestStars" data-theme="c" data-filter="GuestStar" data-mini="true">
|
||||||
<label for="chkGuestStars">Guest Stars</label>
|
<label for="chkGuestStars">Guest Stars</label>
|
||||||
</fieldset>
|
|
||||||
|
<input class="chkPersonTypeFilter" type="checkbox" name="chkDirectors" id="chkDirectors" data-theme="c" data-filter="Director" data-mini="true">
|
||||||
|
<label for="chkDirectors">Directors</label>
|
||||||
|
|
||||||
|
<input class="chkPersonTypeFilter" type="checkbox" name="chkWriters" id="chkWriters" data-theme="c" data-filter="Writer" data-mini="true">
|
||||||
|
<label for="chkWriters">Writers</label>
|
||||||
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue