forgejo/templates/explore
0ko 382c3c3228 feat(ui): allow dropdown to contain not just items (#9951)
Currently the dropdown component only supports having one `<summary>` and one `<ul>` (with interactive items) in it. This PR refactors it to add a `.content` container so that it is possible for the dropdown to contain things the more complex dropdowns do like `<hr>` and a searchbar.

Also adds an `<hr>` to user actions as a little demo.

Preview
B: https://codeberg.org/attachments/8dfb98d2-52be-4c3c-8fc0-8fe470f34703
A: https://codeberg.org/attachments/53f2acfb-2e61-4420-b616-13d563f5c257

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9951
Reviewed-by: Otto <otto@codeberg.org>
2025-11-05 05:00:15 +01:00
..
code.tmpl Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00
navbar.tmpl Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages and fix an issue related to user search (#32288) 2024-10-27 11:27:40 +01:00
repo_list.tmpl feat: improve tooltips and aria-labels of stars/forks/watchers links (#9754) 2025-10-19 18:33:26 +02:00
repos.tmpl Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
search.tmpl feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
user_list.tmpl ui: simplify main-attribute labels 2024-12-08 17:30:52 +05:00
users.tmpl Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00