aboutsummaryrefslogtreecommitdiff
path: root/src/templates/search_results.html
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-08-02 17:31:36 -0400
committerBen Burwell <ben@benburwell.com>2015-08-02 17:31:36 -0400
commit3d0f989cee9d7c426c759588539dd06c14fa70ea (patch)
tree798fb7c7f10282be06f85814e20ba062a9d6f635 /src/templates/search_results.html
parent2cde3ec173c57d24e6fb8a31700a7db4eb31564d (diff)
let's get v1 going here
Diffstat (limited to 'src/templates/search_results.html')
-rw-r--r--src/templates/search_results.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/templates/search_results.html b/src/templates/search_results.html
new file mode 100644
index 0000000..9bac74f
--- /dev/null
+++ b/src/templates/search_results.html
@@ -0,0 +1,34 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <title>Solfege search results - {{original_query}}</title>
+ </head>
+ <body>
+ <!-- Normalized: {{normalized_query}} -->
+ <!-- Denormalized: {{denormalized_query}} -->
+
+ <h1>Solfege search results</h1>
+ <p>
+ <form action="/search" method="get">
+ <input type="text" name="q" value="{{original_query}}">
+ <input type="submit" value="Search">
+ </form>
+ </p>
+
+ <ol>
+ {{#each results}}
+ <li><b>{{title}} - {{artist_name}}</b></li>
+ {{/each}}
+ </ol>
+
+ <h2>None of these right? Remebered the song?</h2>
+ <p>Submit the song this phrase is from!</p>
+ <p>
+ <form action="/submit_song">
+ <input type="hidden" name="phrase" value="{{denormalized_query}}">
+ <input type="text" name="title" placeholder="Song title">
+ <input type="submit" value="Improve the world">
+ </form>
+ </p>
+ </body>
+</html>