go-bouquins/templates/index.html
2017-08-05 11:16:19 +02:00

19 lines
807 B
HTML

{{ template "header.html" . }}
<div class="container">
<div class="jumbotron" id="index">
<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">
{{ template "index_paginate.html" }}
{{/* template "index_series.html" */}}
{{/* template "index_authors.html" */}}
{{ template "index_books.html" }}
{{ template "index_paginate.html" }}
</div>
</div>
{{ template "footer.html" . }}