ajout page de channel

This commit is contained in:
Antoine WEBER
2015-09-15 10:41:00 +02:00
parent eeefc2e23c
commit cdf738cb40
2 changed files with 65 additions and 0 deletions

22
views/channel.jade Normal file
View 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();
});