blob: 081e0e3e35f3d6914d53d6a939b96e3012b9ecb4 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{{define "hero-small"}}
<section class="hero is-small is-primary">
<div class="hero-body">
<h1 class="title">
{{.GlobalVars.Name}}
</h1>
<p class="subtitle">
Full-text search FDA 510(k) database
</p>
</div>
</section>
{{end}}
{{define "navbar"}}
<nav class="navbar is-fixed-top is-primary" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a href="/" class="navbar-item subtitle is-3">{{.GlobalVars.Name}}</a>
</div>
</nav>
{{end}}
{{define "hero-medium"}}
<section class="hero is-medium is-primary">
<div class="hero-body">
<h1 class="title">
{{ .GlobalVars.Name }}
</h1>
<p class="subtitle">
Full-text search FDA 510(k) database
</p>
</div>
</section>
{{end}}
{{define "search-bar-small"}}
<div class="container">
<div class="container">
<form action="/search" method="GET">
<div class="field has-addons">
<div class="control is-expanded has-icons-left">
<input class="input" type="text" name="query" placeholder="Query" spellcheck="false">
<span class="icon is-left">
<i class="fa-solid fa-magnifying-glass"></i>
</span>
</div>
<div class="control">
<input class="button is-primary" type="submit" value="Search">
</div>
</div>
</form>
</div>
</div>
{{end}}
|