diff options
author | Ben Burwell <ben@benburwell.com> | 2015-08-02 17:33:25 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2015-08-02 17:33:25 -0400 |
commit | 17470146704846137bf09723d403a5650208ba28 (patch) | |
tree | 798fb7c7f10282be06f85814e20ba062a9d6f635 /src/templates/search_results.html | |
parent | 3788738f88b3aed5ced113aa4c455a0d25d8b84e (diff) | |
parent | 3d0f989cee9d7c426c759588539dd06c14fa70ea (diff) |
Merge pull request #2 from benburwell/mvp
Minimum Viable Product
Diffstat (limited to 'src/templates/search_results.html')
-rw-r--r-- | src/templates/search_results.html | 34 |
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> |