2023-06-28 06:10:36 -06:00
|
|
|
<form class="ui form ignore-dirty">
|
2022-10-10 17:12:03 -06:00
|
|
|
<div class="ui fluid action input">
|
2023-06-22 04:27:35 -06:00
|
|
|
{{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true "Disabled" .CodeIndexerUnavailable}}
|
2023-03-24 04:35:38 -06:00
|
|
|
<div class="ui dropdown selection {{if .CodeIndexerUnavailable}} disabled{{end}}" data-tooltip-content="{{.locale.Tr "explore.search.type.tooltip"}}">
|
2022-10-13 19:33:54 -06:00
|
|
|
<input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
2022-10-10 17:12:03 -06:00
|
|
|
<div class="text">{{.locale.Tr (printf "explore.search.%s" (or .queryType "fuzzy"))}}</div>
|
2023-02-14 04:53:54 -07:00
|
|
|
<div class="menu">
|
2023-03-24 04:35:38 -06:00
|
|
|
<div class="item" data-value="" data-tooltip-content="{{.locale.Tr "explore.search.fuzzy.tooltip"}}">{{.locale.Tr "explore.search.fuzzy"}}</div>
|
|
|
|
<div class="item" data-value="match" data-tooltip-content="{{.locale.Tr "explore.search.match.tooltip"}}">{{.locale.Tr "explore.search.match"}}</div>
|
2022-10-10 17:12:03 -06:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-13 19:33:54 -06:00
|
|
|
<button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
|
2022-10-10 17:12:03 -06:00
|
|
|
</div>
|
|
|
|
</form>
|