bouquins/views/home.jade

40 lines
1.3 KiB
Plaintext
Raw Normal View History

extends layout
block content
div.jumbotron
2014-06-28 23:21:17 +00:00
h1= t('bouquins.homeTitle')
p= t('bouquins.homeGreetings')
p
2014-06-28 23:21:17 +00:00
a#book.btn.btn-primary.btn-lg(href="#books",role="button")= t('bouquins.books')
 
2014-06-28 23:21:17 +00:00
a#author.btn.btn-primary.btn-lg(href="#authors",role="button")= t('bouquins.authors')
 
2014-06-28 23:21:17 +00:00
a#serie.btn.btn-primary.btn-lg(href="#series",role="button")= t('bouquins.series')
2014-06-28 07:36:47 +00:00
 
2014-06-28 23:21:17 +00:00
a#recent.btn.btn-warning.btn-lg(href="#books",role="button")= t('bouquins.recent')
div#blkitems.container-fluid.hidden
a#itemsanchor
2014-06-27 16:40:59 +00:00
div.btn-group
- var initials = '0ABCDEFGHIPQRSTUVWXYZ';
- for (var i=0;i<initials.length;i++) {
- var c = initials.charAt(i);
button.btn.btn-default.initial(type="button",value=c)= c
- }
ul.pager
2014-06-28 23:21:17 +00:00
li.previous.disabled: a.prev= t('bouquins.previous')
li.next.disabled: a.next= t('bouquins.next')
table#items.table.table-striped
2014-06-28 23:21:17 +00:00
tr: td.disabled= t('bouquins.empty')
2014-06-27 16:40:59 +00:00
ul.pager
2014-06-28 23:21:17 +00:00
li.previous.disabled: a.prev= t('bouquins.previous')
li.next.disabled: a.next= t('bouquins.next')
2014-06-27 16:40:59 +00:00
div.btn-group.center-block
each p in [10,20,50,100]
button.btn.btn-default.perpage(type="button",value=p)= p
2014-06-28 23:21:17 +00:00
script
| $(function() {
| $.i18n.init().done(function() {
| home = new HomePage();
| });
| });