summaryrefslogtreecommitdiffstats
path: root/templates/code
diff options
context:
space:
mode:
authorYarden Shoham <hrsi88@gmail.com>2022-10-14 04:33:54 +0300
committerGitHub <noreply@github.com>2022-10-13 21:33:54 -0400
commitc4f7c9690393ef71ff4aa82b4a9e7fb22477bee5 (patch)
tree5da9759a55e19d74e98b610afdb57c766c703209 /templates/code
parentf40833d1f0a9e3269d31090eae8fcb101fa1318c (diff)
downloadgitea-c4f7c9690393ef71ff4aa82b4a9e7fb22477bee5.tar.gz
gitea-c4f7c9690393ef71ff4aa82b4a9e7fb22477bee5.zip
Run `make fmt` (#21437)
The only change is what `make fmt` did, I am merely a vessel for its glorious function Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Diffstat (limited to 'templates/code')
-rw-r--r--templates/code/searchform.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/code/searchform.tmpl b/templates/code/searchform.tmpl
index 26611cf4b2..17d1944e13 100644
--- a/templates/code/searchform.tmpl
+++ b/templates/code/searchform.tmpl
@@ -1,14 +1,14 @@
<form class="ui form ignore-dirty" style="max-width: 100%">
<div class="ui fluid action input">
- <input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable }} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
- <div class="ui dropdown selection tooltip{{if .CodeIndexerUnavailable }} disabled{{end}}" data-content="{{.locale.Tr "explore.search.type.tooltip"}}">
- <input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
+ <input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable}} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
+ <div class="ui dropdown selection tooltip{{if .CodeIndexerUnavailable}} disabled{{end}}" data-content="{{.locale.Tr "explore.search.type.tooltip"}}">
+ <input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="text">{{.locale.Tr (printf "explore.search.%s" (or .queryType "fuzzy"))}}</div>
<div class="menu transition hidden" tabindex="-1" style="display: block !important;">
<div class="item tooltip" data-value="" data-content="{{.locale.Tr "explore.search.fuzzy.tooltip"}}">{{.locale.Tr "explore.search.fuzzy"}}</div>
<div class="item tooltip" data-value="match" data-content="{{.locale.Tr "explore.search.match.tooltip"}}">{{.locale.Tr "explore.search.match"}}</div>
</div>
</div>
- <button class="ui primary button"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
+ <button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
</div>
</form>