forked from forgejo/forgejo
Remove autofocus in search box (#28033)
Mentioned here: https://github.com/go-gitea/gitea/pull/27982#issuecomment-1807923026
This commit is contained in:
parent
0e1b381ff6
commit
eae555ff23
12 changed files with 12 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
|||
{{template "base/alert" .}}
|
||||
<form class="ui form ignore-dirty">
|
||||
<div class="ui fluid action input">
|
||||
{{template "shared/searchinput" dict "Value" .Query "AutoFocus" true}}
|
||||
{{template "shared/searchinput" dict "Value" .Query}}
|
||||
<select class="ui dropdown" name="type">
|
||||
<option value="">{{ctx.Locale.Tr "packages.filter.type"}}</option>
|
||||
<option value="all">{{ctx.Locale.Tr "packages.filter.type.all"}}</option>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<p><a href="{{.PackageDescriptor.PackageWebLink}}">{{.PackageDescriptor.Package.Name}}</a> / <strong>{{ctx.Locale.Tr "packages.versions"}}</strong></p>
|
||||
<form class="ui form ignore-dirty">
|
||||
<div class="ui fluid action input">
|
||||
{{template "shared/searchinput" dict "Value" .Query "AutoFocus" true}}
|
||||
{{template "shared/searchinput" dict "Value" .Query}}
|
||||
<select class="ui dropdown" name="sort">
|
||||
<option value="version_asc"{{if eq .Sort "version_asc"}} selected="selected"{{end}}>{{ctx.Locale.Tr "filter.string.asc"}}</option>
|
||||
<option value="version_desc"{{if eq .Sort "version_desc"}} selected="selected"{{end}}>{{ctx.Locale.Tr "filter.string.desc"}}</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue