mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
rework news downloading
This commit is contained in:
parent
d923a125e2
commit
f803e08762
@ -279,56 +279,56 @@
|
||||
@media (min-height: 500px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 300px;
|
||||
height: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 600px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 400px;
|
||||
height: 350px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 700px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 500px;
|
||||
height: 450px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 800px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 600px;
|
||||
height: 550px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 900px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 700px;
|
||||
height: 650px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 1000px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 800px;
|
||||
height: 750px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 1100px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 900px;
|
||||
height: 850px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-height: 1200px) {
|
||||
|
||||
.channelList, .programGrid {
|
||||
height: 1000px;
|
||||
height: 950px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -811,7 +811,7 @@ progress {
|
||||
@media all and (max-width: 1440px) {
|
||||
|
||||
.dashboardHomeRightColumn {
|
||||
margin-top: 3em;
|
||||
margin-top: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,10 +75,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="contribute" data-role="collapsible" data-collapsed="false" style="margin-top: 2em; display: none;">
|
||||
<h3>Help Improve Media Browser</h3>
|
||||
<div id="contribute" style="margin-top: 4em; display: none;">
|
||||
<h2 style="margin:0 0 .35em;">Help Improve Media Browser</h2>
|
||||
<div>
|
||||
<br />
|
||||
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
|
||||
method="post">
|
||||
<input type="hidden" name="amount" value="10">
|
||||
|
@ -75,7 +75,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" data-mini="true" data-content-theme="false">
|
||||
<div data-role="collapsible" data-mini="true">
|
||||
<h3>Pre/Post Padding</h3>
|
||||
<div>
|
||||
<br />
|
||||
|
@ -43,7 +43,7 @@
|
||||
var date = parseISO8601Date(item.Date, { toLocal: true });
|
||||
itemHtml += '<div class="newsItemDate">' + date.toLocaleDateString() + '</div>';
|
||||
|
||||
itemHtml += '<div class="newsItemDescription">' + item.Description + '</div>';
|
||||
itemHtml += '<div class="newsItemDescription">' + item.DescriptionHtml + '</div>';
|
||||
itemHtml += '</div>';
|
||||
|
||||
return itemHtml;
|
||||
|
@ -275,7 +275,7 @@
|
||||
|
||||
var airDate = item.OriginalAirDate;
|
||||
|
||||
if (airDate && !item.IsRepeat) {
|
||||
if (airDate && item.IsRepeat) {
|
||||
|
||||
try {
|
||||
airDate = parseISO8601Date(airDate, { toLocal: true }).toLocaleDateString();
|
||||
|
Loading…
Reference in New Issue
Block a user