aboutsummaryrefslogtreecommitdiff
path: root/cmd/sklad/search.tmpl
blob: 9fef4550a3d0e6d994a2807cb34187f869a0ddc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{{ define "Title" }}„{{ .Query }}“ — Vyhledávání{{ end }}
{{ define "Content" }}

<h2>Vyhledávání: &bdquo;{{ .Query }}&ldquo;<h2>

<h3>Řady</h3>

{{ range .Series }}
<section>
<header>
	<h3><a href="series?prefix={{ .Prefix }}">{{ .Prefix }}</a></h3>
	<p>{{ .Description }}
</header>
</section>
{{ else }}
<p>Neodpovídají žádné řady.
{{ end }}

<h3>Obaly</h3>

{{ range .Containers }}
<section>
<header>
	<h3><a href="container?id={{ .Id }}">{{ .Id }}</a>
{{ range .Path }}
	<small>&laquo; <a href="container?id={{ . }}">{{ . }}</a></small>
{{ end }}
	</h3>
</header>
{{ if .Description }}
<p>{{ .Description }}
{{ end }}
</section>
{{ else }}
<p>Neodpovídají žádné obaly.
{{ end }}

{{ end }}