36 lines
862 B
HTML
36 lines
862 B
HTML
{{ template "header.html" . }}
|
|
<div class="container" id="app">
|
|
{{ if .ID }}
|
|
<div class="page-header">
|
|
<h1>
|
|
<span class="glyphicon glyphicon-list"></span>
|
|
{{ .Name }}
|
|
</h1>
|
|
</div>
|
|
<h2>
|
|
<span class="glyphicon glyphicon-book"></span> Livre(s)
|
|
</h2>
|
|
<ul>
|
|
{{ range .Books }}
|
|
<li class="list-unstyled">{{ .SeriesIndex }}.
|
|
<a href="/books/{{ .ID }}">{{ .Title }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
<h2>
|
|
<span class="glyphicon glyphicon-user"></span> Auteur(s)
|
|
</h2>
|
|
<ul>
|
|
{{ range .Authors }}
|
|
<li class="list-unstyled">
|
|
<span class="glyphicon glyphicon-user"></span>
|
|
<a href="/authors/{{ .ID }}">{{ .Name }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<div class="alert alert-danger" role="alert">Aucune série sélectionnée</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ template "footer.html" . }}
|