1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-05 23:34:19 -04:00
gitea/templates/shared/search
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
..
code Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
button.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
combo_fuzzy.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
combo.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
fuzzy.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
input.tmpl Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00