1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00
mkdocs-material/material/partials/search.html

22 lines
1.2 KiB
HTML
Raw Normal View History

2017-01-13 00:31:37 +01:00
{% import "partials/language.html" as lang %}
2016-12-26 14:47:50 +01:00
<div class="md-search" data-md-component="search">
<div class="md-search__overlay"></div>
2016-09-23 11:56:25 +02:00
<div class="md-search__inner">
2016-12-15 15:55:40 +01:00
<form class="md-search__form" name="search">
2017-03-19 19:49:19 +01:00
<input type="text" class="md-search__input" name="query" required placeholder="{{ lang.t('search.placeholder') }}" accesskey="s" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="query">
2016-10-23 19:31:54 +02:00
<label class="md-icon md-search__icon" for="search"></label>
2017-03-21 15:27:45 +01:00
<button type="reset" class="md-icon md-search__icon" data-md-component="reset">close</button>
</form>
<div class="md-search__output">
2016-12-29 14:19:26 +01:00
<div class="md-search__scrollwrap" data-md-scrollfix>
2017-03-16 12:11:00 +01:00
<div class="md-search-result" data-md-component="result">
<div class="md-search-result__meta" data-md-lang-result-none="{{ lang.t('search.result.none') }}" data-md-lang-result-one="{{ lang.t('search.result.one') }}" data-md-lang-result-other="{{ lang.t('search.result.other') }}">
{{ lang.t('search.result.placeholder') }}
2017-03-16 12:11:00 +01:00
</div>
<ol class="md-search-result__list"></ol>
</div>
2016-09-23 11:56:25 +02:00
</div>
</div>
2016-09-23 11:56:25 +02:00
</div>
</div>