summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/index.html b/index.html
index 0759bd3..2c2c279 100644
--- a/index.html
+++ b/index.html
@@ -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}}