mirror of https://github.com/go-gitea/gitea.git
Backport #28146 by @yp05327 Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/3012f544-7ff5-4ccb-ac80-ce24d50abe97) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/4084312a-9ac0-4103-8c93-ea178ae24493) ![image](https://github.com/go-gitea/gitea/assets/18380374/3c47d175-0735-476d-8979-da2bc0a4fc95) ![image](https://github.com/go-gitea/gitea/assets/18380374/033c6a81-d1f7-4426-8063-5793d0b47462) Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
parent
efcbaf8fa8
commit
7128929a0d
|
@ -1,4 +1,5 @@
|
||||||
{{template "base/alert" .}}
|
{{template "base/alert" .}}
|
||||||
|
{{if .HasPackages}}
|
||||||
<form class="ui form ignore-dirty">
|
<form class="ui form ignore-dirty">
|
||||||
<div class="ui fluid action input">
|
<div class="ui fluid action input">
|
||||||
{{template "shared/searchinput" dict "Value" .Query "AutoFocus" true}}
|
{{template "shared/searchinput" dict "Value" .Query "AutoFocus" true}}
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
<button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button>
|
<button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
{{end}}
|
||||||
<div>
|
<div>
|
||||||
{{range .PackageDescriptors}}
|
{{range .PackageDescriptors}}
|
||||||
<div class="flex-list">
|
<div class="flex-list">
|
||||||
|
|
Loading…
Reference in New Issue