ajout page de channel
This commit is contained in:
22
views/channel.jade
Normal file
22
views/channel.jade
Normal file
@@ -0,0 +1,22 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= title
|
||||
|
||||
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
|
||||
thead
|
||||
tr
|
||||
th Nom
|
||||
th Durée
|
||||
th Année
|
||||
tbody
|
||||
each video, i in videos
|
||||
tr
|
||||
td
|
||||
a(href="/file/#{video.id}/#{video.filename}")= video.title
|
||||
td= video.second
|
||||
td= video.year
|
||||
script.
|
||||
$(document).ready(function() {
|
||||
$('#example').DataTable();
|
||||
});
|
||||
Reference in New Issue
Block a user