mirror of
https://github.com/glanceapp/glance.git
synced 2024-11-29 11:55:05 +01:00
19 lines
863 B
HTML
19 lines
863 B
HTML
{{ template "widget-base.html" . }}
|
|
<!-- Search box -->
|
|
{{ define "widget-content" }}
|
|
<form class="search-form" action="{{ .SearchURL }}" method="get">
|
|
<div class="search-input-container">
|
|
<input type="text" class="search-input" value name="q" placeholder="Search...">
|
|
<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 }}
|