mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
display ibn item counts
This commit is contained in:
parent
cf5a7622d8
commit
8991f9ea45
2 changed files with 13 additions and 5 deletions
|
@ -221,6 +221,14 @@
|
|||
.detailPagePrimaryInfo {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.libraryTabs .ui-btn-text {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.libraryTabs .ui-btn-inner {
|
||||
padding: 1em 20px!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 850px) {
|
||||
|
|
|
@ -64,31 +64,31 @@
|
|||
|
||||
$.getJSON(url).done(function (result) {
|
||||
|
||||
var html = '<fieldset data-role="controlgroup" data-type="horizontal">';
|
||||
var html = '<fieldset data-role="controlgroup" data-type="horizontal" class="libraryTabs">';
|
||||
|
||||
html += '<legend></legend>';
|
||||
|
||||
if (result.MovieCount) {
|
||||
|
||||
html += '<input type="radio" name="ibnItems" id="radioMovies" value="on">';
|
||||
html += '<input type="radio" name="ibnItems" id="radioMovies" value="on" data-mini="true">';
|
||||
html += '<label for="radioMovies">Movies (' + result.MovieCount + ')</label>';
|
||||
}
|
||||
|
||||
if (result.SeriesCount) {
|
||||
|
||||
html += '<input type="radio" name="ibnItems" id="radioShows" value="on">';
|
||||
html += '<input type="radio" name="ibnItems" id="radioShows" value="on" data-mini="true">';
|
||||
html += '<label for="radioShows">TV Shows (' + result.SeriesCount + ')</label>';
|
||||
}
|
||||
|
||||
if (result.EpisodeGuestStarCount) {
|
||||
|
||||
html += '<input type="radio" name="ibnItems" id="radioGuestStar" value="on">';
|
||||
html += '<input type="radio" name="ibnItems" id="radioGuestStar" value="on" data-mini="true">';
|
||||
html += '<label for="radioGuestStar">Guest Starred (' + result.EpisodeGuestStarCount + ')</label>';
|
||||
}
|
||||
|
||||
if (result.GameCount) {
|
||||
|
||||
html += '<input type="radio" name="ibnItems" id="radioGames" value="on">';
|
||||
html += '<input type="radio" name="ibnItems" id="radioGames" value="on" data-mini="true">';
|
||||
html += '<label for="radioGames">Games (' + result.SeriesCount + ')</label>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue