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

24 lines
1.1 KiB
HTML
Raw Normal View History

{% import "partials/language.html" as lang with context %}
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="search"></label>
2018-01-11 18:25:10 +01:00
<div class="md-search__inner" role="search">
2016-12-15 15:55:40 +01:00
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" placeholder="{{ lang.t('search.placeholder') }}" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="query" data-md-state="active">
2016-10-23 19:31:54 +02:00
<label class="md-icon md-search__icon" for="search"></label>
2018-01-11 18:25:10 +01:00
<button type="reset" class="md-icon md-search__icon" data-md-component="reset" tabindex="-1">
&#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">
<div class="md-search-result__meta">
{{ 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>