ajout de la page divers + lien de retour

This commit is contained in:
Antoine WEBER
2015-10-07 18:03:22 +02:00
parent e782a359c4
commit e603610448
8 changed files with 21 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ block content
each video, i in videos
tr
td
a(href="/movie/#{video.id}")= video.title
a(href="/movie/#{video.id}/#{channel.id}")= video.title
td= video.duree
td= video.year
script.

View File

@@ -3,26 +3,30 @@ extends layout
block content
h1= movie.title
a(href="/channel/#{channel_id}") Retour à la liste
br
br
label Note
p= movie.rating
label Télécharger
br
each file, i in movie.file
a(href="/file/#{file.id}/#{file.filename}") #{file.size} #{file.filename}
a(href="/file/#{file.id}/#{file.filename}") #{file.size} #{file.filename}
br
br
label Résumé
p= movie.summary
br
br
label Genre
each tag, i in movie.tags_genre
if(tag!='')
span= tag
|  
br
br
label Acteurs
each tag, i in movie.tags_star
if(tag!='')

View File

@@ -3,6 +3,9 @@ extends layout
block content
h1= title
a(href="/channel/#{channel_id}") Retour à la liste des séries
br
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
thead
tr
@@ -13,7 +16,7 @@ block content
each video, i in videos
tr
td
a(href="/movie/#{video.id}")= video.titre
a(href="/movie/#{video.id}/#{channel_id}")= video.titre
td= video.season_episode
td= video.duree
script.

View File

@@ -12,7 +12,7 @@ block content
each show, i in shows
tr
td
a(href="/show/#{show.id}")= show.title
a(href="/show/#{show.id}/#{channel}")= show.title
td= show.year
script.
$(document).ready(function() {