2022-02-22 16:38:16 +00:00
|
|
|
<form action="{{form-action}}" method="get" class="minerva-search-form">
|
2021-12-15 22:59:11 +00:00
|
|
|
<div class="search-box">
|
|
|
|
<input type="hidden" name="title" value="{{page-title}}"/>
|
2024-09-25 00:23:04 +00:00
|
|
|
<input class="search skin-minerva-search-trigger" id="searchInput"
|
2024-04-08 20:26:50 +00:00
|
|
|
{{{html-input-attributes}}}>
|
2024-09-25 00:23:04 +00:00
|
|
|
{{#data-btn.data-icon}}<span class="search-box-icon-overlay">{{>Icon}}</span>{{/data-btn.data-icon}}
|
2021-12-15 22:59:11 +00:00
|
|
|
</div>
|
2022-02-22 16:38:16 +00:00
|
|
|
{{!
|
|
|
|
A button when clicked will submit the form
|
|
|
|
This is used so that on tablet devices with JS disabled the search button
|
|
|
|
passes the value of input to the search
|
|
|
|
We avoid using input[type=submit] as these cannot be easily styled as mediawiki ui icons
|
|
|
|
which is problematic in Opera Mini (see T140490)
|
|
|
|
}}
|
2023-07-24 22:12:24 +00:00
|
|
|
{{#data-btn}}
|
|
|
|
{{>Button}}
|
|
|
|
{{/data-btn}}
|
2021-12-15 22:59:11 +00:00
|
|
|
</form>
|