mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update live tv images
This commit is contained in:
parent
9e4ec97ed5
commit
02e924e3c5
@ -43,7 +43,7 @@
|
||||
}
|
||||
|
||||
if (imgUrl) {
|
||||
html += '<paper-fab mini class="blue" style="background-image:url(\'' + imgUrl + '\');background-repeat:no-repeat;background-position:center center;background-size: cover;" item-icon></paper-fab>';
|
||||
html += '<paper-fab mini class="blue lazy" data-src="' + imgUrl + '" style="background-repeat:no-repeat;background-position:center center;background-size: cover;" item-icon></paper-fab>';
|
||||
}
|
||||
else if (program.IsKids) {
|
||||
html += '<paper-fab mini style="background:#2196F3;" icon="person" item-icon></paper-fab>';
|
||||
|
@ -144,7 +144,9 @@
|
||||
var timers = result.Items;
|
||||
|
||||
LiveTvHelpers.getTimersHtml(timers).then(function(html) {
|
||||
var elem = $('.scheduleTab', page).html(html);
|
||||
var elem = $('.scheduleTab', page).html(html)[0];
|
||||
|
||||
ImageLoader.lazyChildren(elem);
|
||||
|
||||
$('.btnDeleteTimer', elem).on('click', function () {
|
||||
|
||||
|
@ -22,7 +22,9 @@
|
||||
function renderTimers(page, timers) {
|
||||
|
||||
LiveTvHelpers.getTimersHtml(timers).then(function (html) {
|
||||
var elem = $('#items', page).html(html);
|
||||
var elem = $('#items', page).html(html)[0];
|
||||
|
||||
ImageLoader.lazyChildren(elem);
|
||||
|
||||
$('.btnDeleteTimer', elem).on('click', function () {
|
||||
|
||||
|
@ -240,7 +240,7 @@ paper-dialog[role="alertdialog"] + iron-overlay-backdrop {
|
||||
}
|
||||
|
||||
paper-tabs {
|
||||
background-color: #111;
|
||||
background-color: #080808;
|
||||
color: #fff;
|
||||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user