liebling/partials/search.hbs

27 lines
1.1 KiB
Handlebars
Raw Permalink Normal View History

2019-04-14 18:41:25 +00:00
{{!--
This search template is used to display the search form.
You need to create a custom integration first to get a Content API key and then
follow the instructions to enable the search feature.
--}}
2020-07-07 15:13:29 +00:00
<div class="m-search js-search" role="dialog" aria-modal="true" aria-label="Search">
2019-02-20 12:13:59 +00:00
<button class="m-icon-button outlined as-close-search js-close-search" aria-label="Close search">
2020-07-07 15:13:29 +00:00
<span class="icon-close" aria-hidden="true"></span>
2019-02-20 12:13:59 +00:00
</button>
<div class="m-search__content">
<form class="m-search__form">
2020-07-07 15:13:29 +00:00
<div class="pos-relative">
<span class="icon-search m-search-icon" aria-hidden="true"></span>
<label for="search-input" class="sr-only">
{{t "Type to search"}}
</label>
<input id="search-input" type="text" class="m-input in-search js-input-search" placeholder="{{t "Type to search"}}">
</div>
2019-02-20 12:13:59 +00:00
</form>
2019-08-17 18:34:39 +00:00
<div class="js-search-results hide"></div>
2019-10-13 16:34:49 +00:00
<p class="m-not-found align-center hide js-no-results">
2019-10-13 13:01:10 +00:00
{{t "No results for your search, try something different."}}
</p>
2019-02-20 12:13:59 +00:00
</div>
2019-03-12 10:39:01 +00:00
</div>