go-bouquins/templates/index.html

18 lines
835 B
HTML
Raw Normal View History

2017-07-30 16:09:27 +00:00
{{ template "header.html" . }}
2017-08-05 10:16:28 +00:00
<div class="container" id="index">
<div class="jumbotron">
2017-07-30 16:09:27 +00:00
<h1>Bouquins</h1>
<p>Cette bibliothèque contient actuellement <strong>{{ .BooksCount }}</strong> livres et BD en format papier ou électronique.</p>
<button class="btn btn-primary" type="button" @click="showBooks">Livres</button>
<button class="btn btn-primary" type="button" @click="showAuthors">Auteurs</button>
<button class="btn btn-primary" type="button" @click="showSeries">Series</button>
</div>
<div class="table-responsive">
2017-08-05 18:06:11 +00:00
<paginate :page="page" :more="more"></paginate>
2017-08-05 14:44:05 +00:00
<results :results="results" :cols="cols" :sort_by="sort_by" :order_desc="order_desc"></results>
2017-08-05 18:06:11 +00:00
<paginate :page="page" :more="more"></paginate>
2017-07-30 16:09:27 +00:00
</div>
</div>
2017-08-06 10:50:43 +00:00
{{ template "components.html" }}
2017-07-30 16:09:27 +00:00
{{ template "footer.html" . }}