Mercurial > wikked
diff static/tpl/nav.html @ 152:8e75c12b1cc9
Search preview changes:
- Typing queries in the search box now runs n-gram searches with the
`whoosh` indexer.
- Search preview matches page titles and shows a drop-down list of pages.
Fixed naming collision problem with `whoosh` indexer.
Fixed inheritance problem with `elastic` indexer.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 23 Dec 2013 13:29:00 -0800 |
parents | d29e2f337b00 |
children | 6cb5445e90b9 |
line wrap: on
line diff
--- a/static/tpl/nav.html Mon Dec 16 20:59:42 2013 -0800 +++ b/static/tpl/nav.html Mon Dec 23 13:29:00 2013 -0800 @@ -18,7 +18,8 @@ <form role="search" id="search" class="navbar-form navbar-left"> <div class="form-group"> <label class="sr-only" for="search-query">Search query</label> - <input type="text" name="q" id="search-query" class="form-control input-sm" placeholder="Search..."> + <input type="text" name="q" id="search-query" class="form-control input-sm" placeholder="Search..."></input> + <ul id="search-preview"></ul> </div> <button type="submit" class="btn btn-sm btn-default">Search</button> </form>