31 lines
739 B
Plaintext
31 lines
739 B
Plaintext
extends layout
|
|
|
|
block content
|
|
h1= title
|
|
|
|
a(href="/pwd/show_list/#{channel_id}") Back to the list of series
|
|
br
|
|
br
|
|
|
|
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
|
|
thead
|
|
tr
|
|
th Name
|
|
th Season & Episode
|
|
th duration
|
|
tbody
|
|
each video, i in videos
|
|
tr
|
|
td
|
|
a(href="/pwd/movie/#{video.id}") #{video.titre}
|
|
td= video.season_episode
|
|
td= video.duration
|
|
script.
|
|
$(document).ready(function() {
|
|
$('#example').DataTable({
|
|
"language": {
|
|
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
|
|
}
|
|
});
|
|
});
|