updated live tv styles

This commit is contained in:
Luke Pulverenti 2013-12-23 12:30:26 -05:00
parent b9d90edfb2
commit 701926c5dc
5 changed files with 12 additions and 61 deletions

View File

@ -25,7 +25,7 @@
top: 0;
left: 0;
bottom: 0;
border-bottom: 1px solid #555;
border-bottom: 1px solid #444;
}
.tvProgramTimeSlotInner {
@ -34,12 +34,15 @@
.tvProgramInfo {
vertical-align: middle;
border-left: 1px solid #444;
padding: .5em .5em;
margin-left: 80px;
border-bottom: 1px solid #444;
}
.tvProgramTimeSlot + .tvProgramInfo {
margin-left: 80px;
border-left: 1px solid #444;
}
.tvProgramName {
color: #fff;
font-weight: bold;

View File

@ -100,7 +100,7 @@
<button type="submit" data-theme="b" data-icon="ok" data-mini="true">
Save
</button>
<button type="button" onclick="Dashboard.navigate('livetvtimers.html');" data-icon="delete" data-mini="true">
<button type="button" onclick="history.back();" data-icon="delete" data-mini="true">
Cancel
</button>
</li>

View File

@ -13,8 +13,10 @@
<a href="livetvseriestimers.html" class="ui-btn-active">Series</a>
</div>
<div data-role="content">
<br />
<div id="items" class="itemsContainer"></div>
<div style="max-width: 700px; margin: 0 auto;">
<br />
<div id="items"></div>
</div>
</div>
</div>
</body>

View File

@ -1212,7 +1212,7 @@
html.push('<a class="detailPageParentLink" href="itemdetails.html?id=' + item.SeriesId + '">' + item.SeriesName + '</a>');
}
else if (item.ParentIndexNumber && item.Type == "Episode") {
else if (item.ParentIndexNumber != null && item.Type == "Episode") {
html.push('<a class="detailPageParentLink" href="itemdetails.html?id=' + item.SeasonId + '">Season ' + item.ParentIndexNumber + '</a>');
}

View File

@ -15,20 +15,6 @@
var html = '';
//var cssClass = "detailTable";
//html += '<div class="detailTableContainer"><table class="' + cssClass + '">';
//html += '<tr>';
//html += '<th>&nbsp;</th>';
//html += '<th>Date</th>';
//html += '<th>Start</th>';
//html += '<th class="tabletColumn">End</th>';
//html += '<th>Name</th>';
//html += '</tr>';
var currentIndexValue;
for (var i = 0, length = result.Items.length; i < length; i++) {
@ -114,49 +100,9 @@
html += '</div>';
html += '</div>';
//html += '<tr>';
//html += '<td>';
//if (program.RecordingId) {
// html += '<button data-recordingid="' + program.RecordingId + '" class="btnCancelRecording" type="button" data-icon="delete" data-inline="true" data-mini="true" data-iconpos="notext">Cancel</button>';
//} else {
// html += '<a href="livetvnewrecording.html?programid=' + program.Id + '" data-role="button" type="button" data-icon="facetime-video" data-inline="true" data-mini="true" data-theme="b" data-iconpos="notext">Record</a>';
//}
//html += '</td>';
//var startDate = program.StartDate;
//try {
// startDate = parseISO8601Date(startDate, { toLocal: true });
//} catch (err) {
//}
//html += '<td>' + startDate.toLocaleDateString() + '</td>';
//html += '<td>' + LiveTvHelpers.getDisplayTime(program.StartDate) + '</td>';
//html += '<td class="tabletColumn">' + LiveTvHelpers.getDisplayTime(program.EndDate) + '</td>';
//html += '<td>';
//if (program.Name) {
// //html += '<a href="livetvprogram.html?id=' + program.Id + '">';
// html += program.Name;
// //html += '</a>';
//}
//html += '</td>';
html += '</a>';
}
//html += '</table></div>';
$('#programList', page).html(html).trigger('create');
}