mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update channel display
This commit is contained in:
parent
489dc97aab
commit
22a0210633
5 changed files with 9 additions and 14 deletions
|
@ -195,6 +195,10 @@
|
||||||
.guideCurrentDay {
|
.guideCurrentDay {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.newTvProgram, .liveTvProgram, .premiereTvProgram, .guideHdIcon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 1280px) {
|
@media all and (max-width: 1280px) {
|
||||||
|
|
|
@ -269,7 +269,7 @@
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
if (program.IsHD) {
|
if (program.IsHD) {
|
||||||
html += '<iron-icon icon="mediainfo:hd"></iron-icon>';
|
html += '<iron-icon class="guideHdIcon" icon="mediainfo:hd"></iron-icon>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (program.SeriesTimerId) {
|
if (program.SeriesTimerId) {
|
||||||
|
|
|
@ -24,12 +24,10 @@
|
||||||
|
|
||||||
function loadLatest(page, userId, parentId) {
|
function loadLatest(page, userId, parentId) {
|
||||||
|
|
||||||
var limit = 18;
|
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
|
|
||||||
IncludeItemTypes: "Movie",
|
IncludeItemTypes: "Movie",
|
||||||
Limit: limit,
|
Limit: 18,
|
||||||
Fields: "PrimaryImageAspectRatio,MediaSourceCount,SyncInfo",
|
Fields: "PrimaryImageAspectRatio,MediaSourceCount,SyncInfo",
|
||||||
ParentId: parentId,
|
ParentId: parentId,
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
|
@ -214,8 +212,8 @@
|
||||||
var url = ApiClient.getUrl("Movies/Recommendations", {
|
var url = ApiClient.getUrl("Movies/Recommendations", {
|
||||||
|
|
||||||
userId: userId,
|
userId: userId,
|
||||||
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
categoryLimit: 6,
|
||||||
ItemLimit: screenWidth >= 1920 ? 9 : (screenWidth >= 1600 ? 8 : (screenWidth >= 1200 ? 7 : 6)),
|
ItemLimit: screenWidth >= 1920 ? 8 : (screenWidth >= 1600 ? 7 : (screenWidth >= 1200 ? 6 : 5)),
|
||||||
Fields: "PrimaryImageAspectRatio,MediaSourceCount,SyncInfo",
|
Fields: "PrimaryImageAspectRatio,MediaSourceCount,SyncInfo",
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
||||||
|
|
|
@ -51,13 +51,6 @@
|
||||||
text: Globalize.translate('MobileSyncFeatureDescription')
|
text: Globalize.translate('MobileSyncFeatureDescription')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (AppInfo.isNativeApp) {
|
|
||||||
list.push({
|
|
||||||
name: Globalize.translate('HeaderCloudSync'),
|
|
||||||
icon: 'sync',
|
|
||||||
text: Globalize.translate('CloudSyncFeatureDescription')
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
list.push({
|
list.push({
|
||||||
name: Globalize.translate('HeaderCinemaMode'),
|
name: Globalize.translate('HeaderCinemaMode'),
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<button class="pageTabButton" data-index="1">${TabLatest}</button>
|
<button class="pageTabButton" data-index="1">${TabLatest}</button>
|
||||||
<button class="pageTabButton" data-index="2">${TabUpcoming}</button>
|
<button class="pageTabButton" data-index="2">${TabUpcoming}</button>
|
||||||
<button class="pageTabButton" data-index="3">${TabShows}</button>
|
<button class="pageTabButton" data-index="3">${TabShows}</button>
|
||||||
<button class="pageTabButton" data-index="4">${TabEpisodes}</button>
|
<button class="pageTabButton tvEpisodesTab" data-index="4">${TabEpisodes}</button>
|
||||||
<button class="pageTabButton" data-index="5">${TabGenres}</button>
|
<button class="pageTabButton" data-index="5">${TabGenres}</button>
|
||||||
<button class="pageTabButton" data-index="6">${TabNetworks}</button>
|
<button class="pageTabButton" data-index="6">${TabNetworks}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue