2024-05-16 02:04:08 +02:00
|
|
|
{{ template "widget-base.html" . }}
|
|
|
|
<!-- Search box -->
|
|
|
|
{{ define "widget-content" }}
|
|
|
|
<form class="search-form" action="{{ .SearchURL }}" method="get">
|
|
|
|
<div class="search-input-container">
|
2024-05-17 16:18:58 +02:00
|
|
|
<input type="text" class="search-input" value="{{ .Query }}" name="q" placeholder="Search...">
|
2024-05-16 02:04:08 +02:00
|
|
|
<button type="submit" class="search-button">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
|
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
class="icon icon-tabler icons-tabler-outline icon-tabler-search">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" />
|
|
|
|
<path d="M21 21l-6 -6" />
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{{ end }}
|