summaryrefslogtreecommitdiff
path: root/templates/home.html
blob: ab185d4c634ca4e36f553cc9541f18801112cc2f (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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{.GlobalVars.Name}}</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
    <script src="https://kit.fontawesome.com/32c297b57b.js" crossorigin="anonymous"></script>
  </head>
  <body>
  <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>
  <section class="section">
    <div class="container">
      <form action="/search" method="GET">
        <div class="field has-addons">
          <div class="control is-expanded has-icons-left">
            <input class="input is-large" type="text" name="query"  placeholder="Query" spellcheck="false">
            <span class="icon is-small is-left">
              <i class="fa-regular fa-magnifying-glass"></i>
            </span>
          </div>
          <div class="control">
            <input class="button is-primary is-large" type="submit" value="Search">
          </div>
        </div>
      </form>
    </div>
  </body>
</html>