1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 17:30:56 +01:00
mkdocs-material/material/partials/search.html

22 lines
1.3 KiB
HTML
Raw Normal View History

2017-01-13 00:31:37 +01:00
{% import "partials/language.html" as lang %}
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="search"></label>
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">
<input type="text" class="md-search__input" name="query" required placeholder="{{ lang.t('search.placeholder') }}" 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>
<button type="reset" class="md-icon md-search__icon" data-md-component="reset">&#xE5CD;</button>
</form>
<div class="md-search__output">
2016-12-29 14:19:26 +01:00
<div class="md-search__scrollwrap" data-md-scrollfix>
<div class="md-search-result" data-md-component="result" data-md-lang-search="{{ lang.t('search.languages') }}" data-md-lang-tokenizer="{{ lang.t('search.tokenizer') }}">
<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') }}">
2017-06-01 22:17:08 +02:00
{{ 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>