plex-web-downloader/views/channel.jade

27 lines
645 B
Plaintext
Raw Permalink Normal View History

2015-09-15 04:41:00 -04:00
extends layout
block content
2015-09-15 11:21:39 -04:00
h1= channel.name
2015-09-15 04:41:00 -04:00
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
thead
tr
th Name
th duration
th Year
2015-09-15 04:41:00 -04:00
tbody
each video, i in videos
tr
td
a(href="/pwd/movie/#{video.id}") #{video.title} 
td= video.duration
2015-09-15 04:41:00 -04:00
td= video.year
script.
$(document).ready(function() {
2015-09-22 10:10:10 -04:00
$('#example').DataTable({
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
2015-09-23 18:17:03 -04:00
}
2015-09-22 10:10:10 -04:00
});
2015-09-15 04:41:00 -04:00
});