mirror of
https://github.com/go-gitea/gitea
synced 2025-08-05 17:18:21 +00:00
Unify search boxes (#29530)
Unify all but a few search boxes to use uniform style, uniform translations and shared templates where possible. Remove a few duplicated search templates, e. g. code search. <details><summary>Example after screenshots:</summary>     </details> Also includes #29700 Co-authored-by: 6543 <6543@obermui.de> --------- Co-authored-by: 6543 <m.huber@kithara.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
3
templates/shared/search/button.tmpl
Normal file
3
templates/shared/search/button.tmpl
Normal file
@@ -0,0 +1,3 @@
|
||||
{{/* Disable (optional) - if search button has to be disabled */}}
|
||||
{{/* Tooltip (optional) - a tooltip to be displayed on hover */}}
|
||||
<button class="ui small icon button" aria-label="{{ctx.Locale.Tr "search.search"}}" {{with .Tooltip}}data-tooltip-content="{{.}}"{{end}}{{if .Disabled}} disabled{{end}}>{{svg "octicon-search"}}</button>
|
Reference in New Issue
Block a user