import other kontor repos into directories
This commit is contained in:
committed by
Thomas Peetz
parent
28746adfbb
commit
b424e95e05
@@ -0,0 +1,25 @@
|
||||
<!--books.html-->
|
||||
{{ define "library/authors.html" }}
|
||||
{{ template "header.html" .}}
|
||||
{{ template "library/menu.html" .}}
|
||||
<ul class="nav nav-tabs">
|
||||
<li role="presentation"><a href="/library/book">Books</a></li>
|
||||
<li role="presentation" class="active"><a href="/library/author">Authors</a></li>
|
||||
<li role="presentation"><a href="/library/publisher">Publishers</a></li>
|
||||
</ul>
|
||||
<div class="panel panel-default">
|
||||
<table class="table">
|
||||
<caption>Liste der Autoren</caption>
|
||||
<tr><th scope="col">Name</th></tr>
|
||||
{{range .payload }}
|
||||
<tr><td><a href="/library/author/view/{{.ID.Hex}}">{{.Name}}</a></td></tr>
|
||||
{{end}}
|
||||
</table>
|
||||
<div class="panel-body">
|
||||
<a href="/library/author/create">Add entry</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Embed the footer.html template at this location-->
|
||||
{{ template "footer.html" .}}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user