diff options
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}} |