bouquins/views/book.jade
2014-06-20 20:58:12 +02:00

47 lines
1.2 KiB
Plaintext

extends layout
block content
ol.breadcrumb
li
a(href="/") Home
li
a(href="/book") Livres
li.active= title
div.container
div.page-header
h1
span.glyphicon.glyphicon-book
= ' '+title+' '
a.btn.btn-success(href='/calibre/'+path+'/'+data_name+'.'+format.toLowerCase())
span.glyphicon.glyphicon-download-alt
= ' Telecharger ' + format
div.row
div.col-md-5
h2
span.glyphicon.glyphicon-user
| Auteur(s)
ul.list-unstyled
each author in authors
li: a(href='/author/'+author.id)= author.name
if series_name
h2
span.glyphicon.glyphicon-list
| Serie
div
a(href="#")= series_name + ' '
span.badge= series_index
h2
span.glyphicon.glyphicon-globe
| Langue
div= lang_code
h2
span.glyphicon.glyphicon-tags
| Etiquette(s)
div
each tag in tags
span.label.label-info= tag.name
|
div.col-md-7
if has_cover == 1
img.img-rounded.img-responsive(src='/calibre/'+path+'/cover.jpg',alt="Pas de couverture")