Debian Codegraph @

skins/MinervaNeue/includes/Skins/SearchBox.mustache

raw
1 <form action="{{form-action}}" method="get" class="minerva-search-form">
2 <div class="search-box">
3 <input type="hidden" name="title" value="{{page-title}}"/>
4 <input class="search skin-minerva-search-trigger" id="searchInput"
5 {{{html-input-attributes}}}>
6 {{#data-btn.data-icon}}<span class="search-box-icon-overlay">{{>Icon}}</span>{{/data-btn.data-icon}}
7 </div>
8 {{!
9 A button when clicked will submit the form
10 This is used so that on tablet devices with JS disabled the search button
11 passes the value of input to the search
12 We avoid using input[type=submit] as these cannot be easily styled as mediawiki ui icons
13 which is problematic in Opera Mini (see T140490)
14 }}
15 {{#data-btn}}
16 {{>Button}}
17 {{/data-btn}}
18 </form>