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.0 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>
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">
<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>