1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/templates/shared
wxiaoguang 7a6260f889
Improve repo search UI (#29767)
1. Introduce a special "flex-items-block" for menu items, to align the
dropdown menu items
2. Simplify the "repo search" form
3. Add missing "TopicOnly" search option

Screenshots:

The old UI items don't align:

<details>

![image](https://github.com/go-gitea/gitea/assets/2114189/b965ac00-bad6-4d2f-9103-8841bd940aa5)

</details>


New UI (doesn't change much, but the items align)

<details>

![image](https://github.com/go-gitea/gitea/assets/2114189/a1add892-21dc-423b-90d5-5569faa3dced)


![image](https://github.com/go-gitea/gitea/assets/2114189/fb4040b2-96d8-4fb2-a0ed-760b9881fd86)

</details>

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-03-15 09:45:30 +00:00
..
actions Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
search Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00
secrets Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
user Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
variables Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
webhook Change webhook-type in create-view (#29114) 2024-02-15 14:59:48 +01:00
combomarkdowneditor.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
issueicon.tmpl Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
issuelist.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
repo_search.tmpl Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00
searchbottom.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
searchfile.tmpl Fix wrong line number in code search result (#29260) 2024-03-06 07:24:43 +00:00