mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
reduce image indicator sizes
This commit is contained in:
parent
7743b36bc9
commit
bcb4b9da33
11 changed files with 46 additions and 28 deletions
|
@ -522,15 +522,17 @@
|
|||
|
||||
function renderChildren(page, item, user) {
|
||||
|
||||
var sortBy = item.Type == "BoxSet" ? "ProductionYear,SortName" : "SortName";
|
||||
|
||||
var fields = "ItemCounts,DateCreated,AudioInfo,PrimaryImageAspectRatio";
|
||||
|
||||
var query = {
|
||||
ParentId: item.Id,
|
||||
SortBy: sortBy,
|
||||
Fields: fields
|
||||
};
|
||||
|
||||
// Let the server pre-sort boxsets
|
||||
if (item.Type !== "BoxSet") {
|
||||
query.SortBy = "SortName";
|
||||
}
|
||||
|
||||
var promise;
|
||||
|
||||
|
|
|
@ -3,14 +3,6 @@
|
|||
var currentItem;
|
||||
var programs;
|
||||
|
||||
function cancelRecording(page, id) {
|
||||
|
||||
}
|
||||
|
||||
function scheduleRecording(page, id) {
|
||||
|
||||
}
|
||||
|
||||
function renderPrograms(page, result) {
|
||||
|
||||
var html = '';
|
||||
|
@ -136,8 +128,7 @@
|
|||
|
||||
Dashboard.setPageTitle(name);
|
||||
|
||||
$('.itemName', page).html(name);
|
||||
$('.itemChannelNumber', page).html(item.Number);
|
||||
$('.itemName', page).html(item.Number + ' ' + name);
|
||||
|
||||
$('.userDataIcons', page).html(LibraryBrowser.getUserDataIconsHtml(item));
|
||||
|
||||
|
|
|
@ -33,9 +33,7 @@
|
|||
|
||||
html += '<div class="tileContent">';
|
||||
|
||||
html += '<div class="tileName">' + channel.Name + '</div>';
|
||||
|
||||
html += '<p class="itemMiscInfo">' + channel.Number + '</p>';
|
||||
html += '<div class="tileName">' + channel.Number + ' ' + channel.Name + '</div>';
|
||||
|
||||
html += '<p class="userDataIcons">' + LibraryBrowser.getUserDataIconsHtml(channel) + '</p>';
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
updateFilterControls();
|
||||
|
||||
html += LibraryBrowser.getPosterViewHtml({
|
||||
|
||||
|
||||
items: result.Items,
|
||||
shape: "square",
|
||||
showTitle: true,
|
||||
|
@ -77,6 +77,8 @@
|
|||
|
||||
}).on('pagebeforeshow', "#liveTvRecordingListPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
var limit = LibraryBrowser.getDefaultPageSize();
|
||||
|
||||
// If the default page size has changed, the start index will have to be reset
|
||||
|
@ -92,7 +94,17 @@
|
|||
query.GroupId = groupId;
|
||||
}
|
||||
|
||||
reloadItems(this);
|
||||
reloadItems(page);
|
||||
|
||||
if (query.GroupId) {
|
||||
|
||||
ApiClient.getLiveTvRecordingGroup(query.GroupId).done(function (group) {
|
||||
$('.listName', page).show().html(group.Name);
|
||||
});
|
||||
|
||||
} else {
|
||||
$('.listName', page).hide();
|
||||
}
|
||||
|
||||
}).on('pageshow', "#liveTvRecordingListPage", function () {
|
||||
|
||||
|
|
|
@ -135,9 +135,9 @@
|
|||
html += '<div class="posterItemImage" style="background-color:' + background + ';"></div>';
|
||||
}
|
||||
|
||||
html += '<div class="posterItemText">' + user.Name + '</div>';
|
||||
html += '<div class="posterItemText" style="color:#000;">' + user.Name + '</div>';
|
||||
|
||||
html += '<div class="posterItemText">';
|
||||
html += '<div class="posterItemText" style="color:#000;">';
|
||||
var lastSeen = LoginPage.getLastSeenText(user.LastActivityDate);
|
||||
if (lastSeen != "") {
|
||||
html += lastSeen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue