mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add missing files
This commit is contained in:
parent
8d17f5f79e
commit
2aa7e92987
2 changed files with 37 additions and 0 deletions
18
dashboard-ui/livetvrecording.html
Normal file
18
dashboard-ui/livetvrecording.html
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Media Browser</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="liveTvRecordingPage" data-role="page" class="page libraryPage" data-theme="a" data-view="livetv">
|
||||||
|
<div class="libraryViewNav">
|
||||||
|
<a href="livetvguide.html">Guide</a>
|
||||||
|
<a href="livetvchannels.html">Channels</a>
|
||||||
|
<a href="livetvrecordings.html" class="ui-btn-active">Recordings</a>
|
||||||
|
<a href="livetvtimers.html">Timers</a>
|
||||||
|
</div>
|
||||||
|
<div data-role="content">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
19
dashboard-ui/scripts/livetvrecording.js
Normal file
19
dashboard-ui/scripts/livetvrecording.js
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
function deleteRecording(page, id) {
|
||||||
|
|
||||||
|
Dashboard.confirm("Are you sure you wish to delete this recording?", "Confirm Recording Deletion", function (result) {
|
||||||
|
|
||||||
|
if (result) {
|
||||||
|
|
||||||
|
Dashboard.showLoadingMsg();
|
||||||
|
|
||||||
|
ApiClient.deleteLiveTvRecording(id).done(function () {
|
||||||
|
|
||||||
|
Dashboard.alert('Recording deleted');
|
||||||
|
|
||||||
|
reload(page);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue