bouquins/views/book.jade
Meutel 0942319fa8 add footer to layout
add app name, version, url in footer
2014-07-10 10:51:05 +02:00

47 lines
1.4 KiB
Plaintext

extends layout
block content
ol.breadcrumb
li
a(href="/")= t('bouquins.nav.home')
li
a(href="/#books")= t('bouquins.nav.books')
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
| #{t('bouquins.book.download')} #{format}
div.row
div.col-md-5
h2
span.glyphicon.glyphicon-user
| #{t('bouquins.book.authors')}
ul.list-unstyled
each author in authors
li: a(href='/author/'+author.id)= author.name
if series_name
h2
span.glyphicon.glyphicon-list
| #{t('bouquins.book.serie')}
div
a(href='/serie/'+series_id) #{series_name}
span.badge= series_index
h2
span.glyphicon.glyphicon-globe
| #{t('bouquins.book.language')}
div= lang_code
h2
span.glyphicon.glyphicon-tags
| #{t('bouquins.book.tags')}
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=t('bouquins.book.nocover'))