ajout page de channel
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user