sklad: breadcrumbs for all containers
This commit is contained in:
parent
37b7edb2ef
commit
dc0536c011
|
@ -22,7 +22,11 @@
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<header>
|
<header>
|
||||||
<h2>{{ .Container.Id }}</h2>
|
<h2>{{ .Container.Id }}
|
||||||
|
{{ range .Container.Path }}
|
||||||
|
<small>« <a href="/?id={{ . }}">{{ . }}</a></small>
|
||||||
|
{{ end }}
|
||||||
|
</h2>
|
||||||
<form method=post action="/label?id={{ .Container.Id }}">
|
<form method=post action="/label?id={{ .Container.Id }}">
|
||||||
<input type=submit value="Vytisknout štítek">
|
<input type=submit value="Vytisknout štítek">
|
||||||
</form>
|
</form>
|
||||||
|
@ -90,7 +94,11 @@
|
||||||
{{ range .Children }}
|
{{ range .Children }}
|
||||||
<section>
|
<section>
|
||||||
<header>
|
<header>
|
||||||
<h3><a href="/?id={{ .Id }}">{{ .Id }}</a></h3>
|
<h3><a href="/?id={{ .Id }}">{{ .Id }}</a>
|
||||||
|
{{ range .Path }}
|
||||||
|
<small>« <a href="/?id={{ . }}">{{ . }}</a></small>
|
||||||
|
{{ end }}
|
||||||
|
</h3>
|
||||||
<form method=post action="/label?id={{ .Id }}">
|
<form method=post action="/label?id={{ .Id }}">
|
||||||
<input type=submit value="Vytisknout štítek">
|
<input type=submit value="Vytisknout štítek">
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue