gitea/templates
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
..
admin Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00
explore Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
package Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
projects Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
repo Improve branch select list ui in go templates (#29729) 2024-03-15 11:43:10 +08:00
shared Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00
status Replace more `gt-` with `tw-`, update frontend docs (#29595) 2024-03-05 05:29:32 +00:00
swagger Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
user Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
webhook Change webhook-type in create-view (#29114) 2024-02-15 14:59:48 +01:00
home.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
install.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00