summaryrefslogtreecommitdiff
path: root/templates/document_details.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/document_details.html')
-rw-r--r--templates/document_details.html35
1 files changed, 3 insertions, 32 deletions
diff --git a/templates/document_details.html b/templates/document_details.html
index a078e46..9e98879 100644
--- a/templates/document_details.html
+++ b/templates/document_details.html
@@ -1,24 +1,11 @@
<!DOCTYPE html>
<html>
<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ {{ template "header" . }}
<title>{{.SearchResults.id}} - {{.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-small is-primary">
- <div class="hero-body">
- <h1 class="title">
- DogeKnows
- </h1>
- <p class="subtitle">
- Full-text search FDA 510(k) database
- </p>
- </div>
- </section>
+ {{template "hero-small" .}}
<section class="section">
<nav class="breadcrumb" aria-label="breadcrumbs">
<ul>
@@ -26,23 +13,7 @@
<li class="is-active"><a href="#" aria-current="page">{{.SearchResults.id}}</a></li>
</ul>
</nav>
- <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-regular fa-magnifying-glass"></i>
- </span>
- </div>
- <div class="control">
- <input class="button is-primary" type="submit" value="Search">
- </div>
- </div>
- </form>
- </div>
- </div>
+ {{ template "search-bar-small" . }}
</section>
<section class="section">