ajout page de channel

This commit is contained in:
Antoine WEBER
2015-09-15 10:40:12 +02:00
parent e7793513f7
commit eeefc2e23c
5 changed files with 19 additions and 35 deletions

View File

@@ -2,4 +2,8 @@ extends layout
block content
h1= title
p Welcome to #{title}
ul
each channel, i in channels
li
a(href="/channel/#{channel.id}")= channel.name

View File

@@ -2,6 +2,11 @@ doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
meta(charset='UTF8')
link(rel='stylesheet', href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css')
link(rel='stylesheet', href='//cdn.datatables.net/1.10.9/css/dataTables.bootstrap.min.css')
script(type='text/javascript', src='//code.jquery.com/jquery-1.11.3.min.js')
script(type='text/javascript', src='//cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js')
script(type='text/javascript', src='//cdn.datatables.net/1.10.9/js/dataTables.bootstrap.min.js')
body
block content