diff options
author | navanchauhan <navanchauhan@gmail.com> | 2022-10-04 02:13:05 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2022-10-04 02:13:05 -0600 |
commit | 0e2444e6afd9df38b740bd6fdcaff0f95321c325 (patch) | |
tree | 5fa2fc4b1c2d632c74ed76dbf49473dce18f78dd /index.html | |
parent | bec4e596415c623d7294ec87680bc029e407fc23 (diff) |
rewrite
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,11 +1,13 @@ <h1>DogeKnows</h1> <form method="POST"> <label>Query:</label><br /> - <input type="text" name="query"><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> @@ -27,4 +29,7 @@ </tr> {{ end }} </table> -{{end}}
\ No newline at end of file + {{ if .MoreResults }} + <p>Load More</p> + {{ end }} +{{end}} |