mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Search branches (#27055)
Resolve #25233 <img width="1315" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/3ba59b58-471a-4e1b-985c-87edac2268c0"> <img width="1297" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/b6caa12f-323b-4f70-9c44-ef91cb71a26c">
This commit is contained in:
@@ -70,9 +70,20 @@
|
||||
{{end}}
|
||||
|
||||
{{if .Branches}}
|
||||
<h4 class="ui top attached header">
|
||||
{{.locale.Tr "repo.branches"}}
|
||||
<h4 class="ui top attached header gt-df gt-ac gt-sb">
|
||||
<div class="gt-df gt-ac">
|
||||
{{.locale.Tr "repo.branches"}}
|
||||
</div>
|
||||
<div class="gt-whitespace-nowrap">
|
||||
<form class="ignore-dirty" method="get">
|
||||
<div class="ui tiny search input">
|
||||
<input name="q" placeholder="{{.locale.Tr "repo.branch.search"}}" value="{{.Keyword}}" autofocus>
|
||||
</div>
|
||||
<button class="ui primary tiny button gt-mr-0" data-tooltip-content={{.locale.Tr "repo.commits.search.tooltip"}}>{{.locale.Tr "repo.commits.find"}}</button>
|
||||
</form>
|
||||
</div>
|
||||
</h4>
|
||||
|
||||
<div class="ui attached table segment">
|
||||
<table class="ui very basic striped fixed table single line">
|
||||
<tbody>
|
||||
|
Reference in New Issue
Block a user