Files
Kevin Putnam 084d7b3468 Added a magnifying glass icon to the search field and changed placeholder text. (#734)
* Adding magnifying glass to search field.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Moved magnifying glass to the left and shifted text to right in search field.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Embedded image in css to avoid sticky path issues.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Reverting to relative path to .css

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-08-23 20:46:35 +02:00

9 lines
407 B
HTML

{%- if builder != 'singlehtml' %}
<div role="search">
<form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" id="clear-docs-search" placeholder="{{ _('Search documentation') }}" results="0"/>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
{%- endif %}