summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-10-17 00:06:48 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-10-17 00:06:48 -0600
commit5223ea0a9b4dccee9c66d392144532b59fab55d5 (patch)
treedfc0b300199a1dd127d8246782945b87fcc914f6
parentf6fcfa97cad2b8bd33f6003fdfbcf4ca5d04375f (diff)
remove redundant template
-rw-r--r--index.html35
1 files changed, 0 insertions, 35 deletions
diff --git a/index.html b/index.html
deleted file mode 100644
index 2c2c279..0000000
--- a/index.html
+++ /dev/null
@@ -1,35 +0,0 @@
- <h1>DogeKnows</h1>
- <form method="POST">
- <label>Query:</label><br />
- <input type="text" name="query" {{if .Success }} value="{{.OriginalQuery.Query}}" {{end}}><br />
- <input name="offset" value="{{.Offset}}" type="hidden"><br />
- <input type="submit">
- </form>
-{{if .Success}}
-<h2>Search Results</h2>
-<p>Showing {{.NumResults}} of {{.TotalResults}}</p>
- <table border="1">
- <tr>
- <th>510(k) Number</th>
- <th>Title</th>
- <th>Applicant</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>{{ .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 }}
- <p>Load More</p>
- {{ end }}
-{{end}}