Translated to english and added pwd as url base

This commit is contained in:
Nick Leffler
2017-09-27 08:11:26 -04:00
parent b2f849e738
commit 94b5e30969
12 changed files with 131 additions and 149 deletions

View File

@@ -6,21 +6,21 @@ block content
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
thead
tr
th Nom
th Durée
th Année
th Name
th duration
th Year
tbody
each video, i in videos
tr
td
a(href="/movie/#{video.id}") #{video.title} 
td= video.duree
a(href="/pwd/movie/#{video.id}") #{video.title} 
td= video.duration
td= video.year
script.
$(document).ready(function() {
$('#example').DataTable({
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/French.json"
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
}
});
});

View File

@@ -11,6 +11,6 @@ block content
each channel, i in channels
li
if(channel.type == 2)
a(href="/show_list/#{channel.id}")= channel.name
a(href="/pwd/show_list/#{channel.id}")= channel.name
else
a(href="/channel/#{channel.id}")= channel.name
a(href="/pwd/channel/#{channel.id}")= channel.name

View File

@@ -16,16 +16,16 @@ html
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="/")
a.navbar-brand(href="/pwd/")
b Plex 
| Web Downloader
div#collapse-menu.collapse.navbar-collapse
ul.nav.navbar-nav.navbar-right
li.active
a(href="/") Accueil
a(href="/pwd/") Home
li
a(href="/divers") Divers
a(href="/pwd/divers") Divers
div.wrapper
div.container

View File

@@ -3,17 +3,17 @@ extends layout
block content
h1= movie.title
a(href="#",onclick="window.history.back();") Retour à la liste
a(href="#",onclick="window.history.back();") back to the list
br
br
label Note
p= movie.rating
label Télécharger
label Download
br
each file, i in movie.file
a(href="/file/#{file.id}/#{file.filename}") #{file.size} #{file.filename}
a(href="/pwd/file/#{file.id}/#{file.filename}") #{file.size} #{file.filename}
br
br
label Résumé

View File

@@ -3,28 +3,28 @@ extends layout
block content
h1= title
a(href="/show_list/#{channel_id}") Retour à la liste des séries
a(href="/pwd/show_list/#{channel_id}") Back to the list of series
br
br
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
thead
tr
th Nom
th Saison & Episode
th Durée
th Name
th Season & Episode
th duration
tbody
each video, i in videos
tr
td
a(href="/movie/#{video.id}") #{video.titre} 
a(href="/pwd/movie/#{video.id}") #{video.titre} 
td= video.season_episode
td= video.duree
td= video.duration
script.
$(document).ready(function() {
$('#example').DataTable({
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/French.json"
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
}
});
});

View File

@@ -6,19 +6,19 @@ block content
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
thead
tr
th Série
th Année
th Series
th Year
tbody
each show, i in shows
tr
td
a(href="/show/#{show.id}/#{channel_id}")= show.title
a(href="/pwd/show/#{show.id}/#{channel_id}")= show.title
td= show.year
script.
$(document).ready(function() {
$('#example').DataTable({
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/French.json"
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
}
});
});