mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add ability to create timer
This commit is contained in:
parent
f030db9841
commit
121d1de0af
10 changed files with 355 additions and 16 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
html += '<tr>';
|
||||
|
||||
html += '<th class="tabletColumn"> </th>';
|
||||
html += '<th> </th>';
|
||||
html += '<th>Date</th>';
|
||||
html += '<th>Start</th>';
|
||||
html += '<th class="tabletColumn">End</th>';
|
||||
|
@ -36,12 +36,12 @@
|
|||
|
||||
html += '<tr>';
|
||||
|
||||
html += '<td class="tabletColumn">';
|
||||
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 += '<button data-recordingid="' + program.RecordingId + '" class="btnScheduleRecording" type="button" data-icon="facetime-video" data-inline="true" data-mini="true" data-theme="b" data-iconpos="notext">Record</button>';
|
||||
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>';
|
||||
|
@ -116,7 +116,7 @@
|
|||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.getLiveTvChannel(getParameterByName('id')).done(function (item) {
|
||||
ApiClient.getLiveTvChannel(getParameterByName('id'), Dashboard.getCurrentUserId()).done(function (item) {
|
||||
|
||||
currentItem = item;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue