2015-09-23 18:30:10 -04:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block content
|
2015-09-24 12:11:02 -04:00
|
|
|
h1= title
|
2015-09-23 18:30:10 -04:00
|
|
|
|
2017-09-27 08:11:26 -04:00
|
|
|
a(href="/pwd/show_list/#{channel_id}") Back to the list of series
|
2015-10-07 12:16:39 -04:00
|
|
|
br
|
2015-10-07 12:03:22 -04:00
|
|
|
br
|
|
|
|
|
2015-09-23 18:30:10 -04:00
|
|
|
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
|
|
|
|
thead
|
|
|
|
tr
|
2017-09-27 08:11:26 -04:00
|
|
|
th Name
|
|
|
|
th Season & Episode
|
|
|
|
th duration
|
2015-09-23 18:30:10 -04:00
|
|
|
tbody
|
|
|
|
each video, i in videos
|
|
|
|
tr
|
|
|
|
td
|
2017-09-27 08:11:26 -04:00
|
|
|
a(href="/pwd/movie/#{video.id}") #{video.titre}
|
2015-09-24 12:15:40 -04:00
|
|
|
td= video.season_episode
|
2017-09-27 08:11:26 -04:00
|
|
|
td= video.duration
|
2015-09-23 18:30:10 -04:00
|
|
|
script.
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('#example').DataTable({
|
|
|
|
"language": {
|
2017-09-27 08:11:26 -04:00
|
|
|
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
|
2015-09-23 18:30:10 -04:00
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|