]> source.dussan.org Git - gitea.git/commit
Unify search boxes (#29530)
authorDenys Konovalov <kontakt@denyskon.de>
Thu, 14 Mar 2024 23:24:59 +0000 (00:24 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Mar 2024 23:24:59 +0000 (23:24 +0000)
commite0b002a4a8fbdb539108ae619772607bef9be23b
tree9a7a0558389a7e4bacea00517acd370908668888
parent607ed27b4fb8ead346f89b379d9788f5c76fb799
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>

![grafik](https://github.com/go-gitea/gitea/assets/47871822/e20e7d6b-c6be-4a47-b132-672766f41421)

![grafik](https://github.com/go-gitea/gitea/assets/47871822/d5b11b9c-c12f-4a29-8fb0-24e5aa511d18)

![grafik](https://github.com/go-gitea/gitea/assets/47871822/d86bb444-36c7-426d-9cf1-c634963dffb1)

![grafik](https://github.com/go-gitea/gitea/assets/47871822/a76c0319-0518-484a-a840-563d02b61198)

</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>
52 files changed:
options/locale/locale_en-US.ini
routers/web/explore/code.go
routers/web/repo/commit.go
routers/web/repo/search.go
routers/web/user/code.go
services/context/pagination.go
templates/admin/base/search.tmpl [deleted file]
templates/admin/emails/list.tmpl
templates/admin/org/list.tmpl
templates/admin/packages/list.tmpl
templates/admin/repo/unadopted.tmpl
templates/admin/user/list.tmpl
templates/code/searchcombo.tmpl [deleted file]
templates/code/searchform.tmpl [deleted file]
templates/code/searchresults.tmpl [deleted file]
templates/explore/code.tmpl
templates/explore/repo_list.tmpl
templates/explore/search.tmpl
templates/explore/user_list.tmpl
templates/explore/users.tmpl
templates/org/team/members.tmpl
templates/org/team/repositories.tmpl
templates/package/shared/list.tmpl
templates/package/shared/versionlist.tmpl
templates/projects/list.tmpl
templates/repo/branch/list.tmpl
templates/repo/commits_search_dropdown.tmpl [new file with mode: 0644]
templates/repo/commits_table.tmpl
templates/repo/home.tmpl
templates/repo/issue/search.tmpl
templates/repo/search.tmpl
templates/repo/settings/collaboration.tmpl
templates/repo/settings/protected_branch.tmpl
templates/repo/settings/tags.tmpl
templates/shared/actions/runner_list.tmpl
templates/shared/issuelist.tmpl
templates/shared/repo_search.tmpl
templates/shared/search/button.tmpl [new file with mode: 0644]
templates/shared/search/code/results.tmpl [new file with mode: 0644]
templates/shared/search/code/search.tmpl [new file with mode: 0644]
templates/shared/search/combo.tmpl [new file with mode: 0644]
templates/shared/search/combo_fuzzy.tmpl [new file with mode: 0644]
templates/shared/search/fuzzy.tmpl [new file with mode: 0644]
templates/shared/search/input.tmpl [new file with mode: 0644]
templates/shared/searchinput.tmpl [deleted file]
templates/user/code.tmpl
templates/user/dashboard/issues.tmpl
templates/user/dashboard/milestones.tmpl
templates/user/dashboard/repolist.tmpl
web_src/css/base.css
web_src/css/form.css
web_src/js/components/DashboardRepoList.vue