mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 23:17:37 +01:00
Use icon for search button rather than text
This commit is contained in:
parent
cbd430841c
commit
5baa06d8c3
@ -41,10 +41,14 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<form class="form-inline my-2 my-lg-0" method="GET" action="/packages/">
|
<form class="form-inline my-2 my-lg-0" method="GET" action="/packages/">
|
||||||
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
||||||
<input class="form-control" name="q" type="text"
|
<div class="input-group mx-0 my-0">
|
||||||
placeholder="{% if query_hint %}{{ _('Search %(type)s', type=query_hint | lower) }}{% else %}{{ _('Search all packages') }}{% endif %}"
|
<input class="form-control" name="q" type="text"
|
||||||
value="{{ query or ''}}">
|
placeholder="{% if query_hint %}{{ _('Search %(type)s', type=query_hint | lower) }}{% else %}{{ _('Search all packages') }}{% endif %}"
|
||||||
<input class="btn btn-secondary my-2 my-sm-0 mr-sm-2" type="submit" value="{{ _('Search') }}" />
|
value="{{ query or ''}}">
|
||||||
|
<button type="submit" class="btn btn-secondary" title="{{ _('Search') }}">
|
||||||
|
<i class="fas fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<!-- <input class="btn btn-secondary my-2 my-sm-0"
|
<!-- <input class="btn btn-secondary my-2 my-sm-0"
|
||||||
data-toggle="tooltip" data-placement="bottom"
|
data-toggle="tooltip" data-placement="bottom"
|
||||||
title="Go to the first found result for this query."
|
title="Go to the first found result for this query."
|
||||||
|
Loading…
Reference in New Issue
Block a user