rework news downloading

This commit is contained in:
Luke Pulverenti 2014-01-18 23:25:01 -05:00
parent d923a125e2
commit f803e08762
6 changed files with 14 additions and 15 deletions

View File

@ -279,56 +279,56 @@
@media (min-height: 500px) { @media (min-height: 500px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 300px; height: 250px;
} }
} }
@media (min-height: 600px) { @media (min-height: 600px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 400px; height: 350px;
} }
} }
@media (min-height: 700px) { @media (min-height: 700px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 500px; height: 450px;
} }
} }
@media (min-height: 800px) { @media (min-height: 800px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 600px; height: 550px;
} }
} }
@media (min-height: 900px) { @media (min-height: 900px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 700px; height: 650px;
} }
} }
@media (min-height: 1000px) { @media (min-height: 1000px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 800px; height: 750px;
} }
} }
@media (min-height: 1100px) { @media (min-height: 1100px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 900px; height: 850px;
} }
} }
@media (min-height: 1200px) { @media (min-height: 1200px) {
.channelList, .programGrid { .channelList, .programGrid {
height: 1000px; height: 950px;
} }
} }

View File

@ -811,7 +811,7 @@ progress {
@media all and (max-width: 1440px) { @media all and (max-width: 1440px) {
.dashboardHomeRightColumn { .dashboardHomeRightColumn {
margin-top: 3em; margin-top: 2em;
} }
} }

View File

@ -75,10 +75,9 @@
</div> </div>
</div> </div>
<div id="contribute" data-role="collapsible" data-collapsed="false" style="margin-top: 2em; display: none;"> <div id="contribute" style="margin-top: 4em; display: none;">
<h3>Help Improve Media Browser</h3> <h2 style="margin:0 0 .35em;">Help Improve Media Browser</h2>
<div> <div>
<br />
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" <form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
method="post"> method="post">
<input type="hidden" name="amount" value="10"> <input type="hidden" name="amount" value="10">

View File

@ -75,7 +75,7 @@
</ul> </ul>
</div> </div>
<div data-role="collapsible" data-mini="true" data-content-theme="false"> <div data-role="collapsible" data-mini="true">
<h3>Pre/Post Padding</h3> <h3>Pre/Post Padding</h3>
<div> <div>
<br /> <br />

View File

@ -43,7 +43,7 @@
var date = parseISO8601Date(item.Date, { toLocal: true }); var date = parseISO8601Date(item.Date, { toLocal: true });
itemHtml += '<div class="newsItemDate">' + date.toLocaleDateString() + '</div>'; itemHtml += '<div class="newsItemDate">' + date.toLocaleDateString() + '</div>';
itemHtml += '<div class="newsItemDescription">' + item.Description + '</div>'; itemHtml += '<div class="newsItemDescription">' + item.DescriptionHtml + '</div>';
itemHtml += '</div>'; itemHtml += '</div>';
return itemHtml; return itemHtml;

View File

@ -275,7 +275,7 @@
var airDate = item.OriginalAirDate; var airDate = item.OriginalAirDate;
if (airDate && !item.IsRepeat) { if (airDate && item.IsRepeat) {
try { try {
airDate = parseISO8601Date(airDate, { toLocal: true }).toLocaleDateString(); airDate = parseISO8601Date(airDate, { toLocal: true }).toLocaleDateString();