Mercurial > wikked
diff static/tpl/search-results.html @ 60:8250c977bc50
Moved static files to the root directory.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 05 Feb 2013 14:49:34 -0800 |
parents | wikked/static/tpl/search-results.html@8d6c2a5ed08d |
children | b03f083c3a29 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/static/tpl/search-results.html Tue Feb 05 14:49:34 2013 -0800 @@ -0,0 +1,20 @@ +<article class="row"> + <div class="page span12"> + <h1>Search Results</h1> + {{#if is_instant}} + <p><small>Press <code>Escape</code> to cancel.</small></p> + {{/if}} + {{#if hits}} + <ul class="search-results"> + {{#each hits}} + <li> + <h3><a href="/#/read/{{url}}">{{title}}</a></h3> + <div class="highlighted"><pre><code>{{{content_highlights}}}</code></pre></div> + </li> + {{/each}} + </ul> + {{else}} + <p>No matches found.</p> + {{/if}} + </div> +</article>