summaryrefslogtreecommitdiff
path: root/results.gtpl
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-10-17 00:06:30 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-10-17 00:06:30 -0600
commitf6fcfa97cad2b8bd33f6003fdfbcf4ca5d04375f (patch)
tree8ef881c03498f77da22b439f168e23fd642dc98d /results.gtpl
parent652115908a85013264faf9041f1e63d06d52e50e (diff)
shifted templates
Diffstat (limited to 'results.gtpl')
-rw-r--r--results.gtpl36
1 files changed, 0 insertions, 36 deletions
diff --git a/results.gtpl b/results.gtpl
deleted file mode 100644
index 151a7d3..0000000
--- a/results.gtpl
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<h1>Search Results</h1>
-<p>Showing results for <b>{{.OriginalQuery.Query}}</b></p>
-<p>Go <a href="/">home</a></p>
-<p>Showing {{.NumResults}} of {{.TotalResults}}</p>
- <table border="1">
- <tr>
- <th>510(k) Number</th>
- <th>Title</th>
- <th>Applicant</th>
- <th>Hit Details</th>
- <th>Submission Date</th>
- <th>Predicates</th>
- </tr>
- {{ range .SearchResults }}
- <tr>
- <td><a href="https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID={{.id}}">{{ .id }}</a></td>
- <td>{{ .title }}</td>
- <td>{{ .applicant }}</td>
- <td>{{unescapeHTML ._formatted.full_text}}</td>
- <td>{{ .submission_date }}</td>
- <td>{{ range .predicates}}
- <a href="https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID={{.}}">{{ . }}</a>,
- {{ end }}
- </td>
- </tr>
- {{ end }}
- </table>
- {{ if .MoreResults }}
- <a href="/classic/search?query={{.OriginalQuery.Query}}&offset={{.LastOffset}}"> <p>Previous Page</p></a>
- <a href="/classic/search?query={{.OriginalQuery.Query}}&offset={{.Offset}}"> <p>Next Page</p></a>
- {{ end }}
-</body>
-</html> \ No newline at end of file