ajouter la gestion des channels
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= title
|
||||
h1= channel.name
|
||||
|
||||
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
|
||||
thead
|
||||
tr
|
||||
th Nom
|
||||
if(channel.type == 2)
|
||||
th Série
|
||||
th Durée
|
||||
th Année
|
||||
tbody
|
||||
@@ -14,6 +16,10 @@ block content
|
||||
tr
|
||||
td
|
||||
a(href="/file/#{video.id}/#{video.filename}")= video.title
|
||||
if(channel.type == 2)
|
||||
td
|
||||
if(typeof video.info_meta !== 'undefined' && typeof video.info_meta.show !== 'undefined')
|
||||
#{video.info_meta.show}
|
||||
td= video.second
|
||||
td= video.year
|
||||
script.
|
||||
|
||||
@@ -9,4 +9,24 @@ html
|
||||
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
|
||||
|
||||
nav.navbar.navbar-default.navbar-static-top.transparent(role="navigation")
|
||||
div.container
|
||||
div.navbar-header
|
||||
button.navbar-toggle(type="button",data-toggle="collapse",data-target="#collapse-menu")
|
||||
span.sr-only Toggle navigation
|
||||
i.fa.fa-bars
|
||||
a.navbar-brand(href="/")
|
||||
b Plex
|
||||
| Web Downloader
|
||||
|
||||
div#collapse-menu.collapse.navbar-collapse
|
||||
ul.nav.navbar-nav.navbar-right
|
||||
li.active
|
||||
a(href="/") Accueil
|
||||
li
|
||||
a(href="/divers") Divers
|
||||
|
||||
div.wrapper
|
||||
div.container
|
||||
block content
|
||||
|
||||
Reference in New Issue
Block a user