forgejo-federation/routers/web/admin
Denys Konovalov 5b5bb8d354
User details page (#26713)
This PR implements a proposal to clean up the admin users table by
moving some information out to a separate user details page (which also
displays some additional information).

Other changes:
- move edit user page from `/admin/users/{id}` to
`/admin/users/{id}/edit` -> `/admin/users/{id}` now shows the user
details page
- show if user is instance administrator as a label instead of a
separate column
- separate explore users template into a page- and a shared one, to make
it possible to use it on the user details page
- fix issue where there was no margin between alert message and
following content on admin pages

<details>

<summary>Screenshots</summary>


![grafik](https://github.com/go-gitea/gitea/assets/47871822/1ad57ac9-f20a-45a4-8477-ffe572a41e9e)


![grafik](https://github.com/go-gitea/gitea/assets/47871822/25786ecd-cb9d-4c92-90f4-e7f4292c073b)


</details>

Partially resolves #25939

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-31 11:21:18 +02:00
..
admin.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 2023-07-26 03:53:37 +00:00
admin_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
applications.go Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00
auths.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
config.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
diagnosis.go Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
emails.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
hooks.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notice.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
orgs.go Sort users and orgs on explore by recency by default (#24279) 2023-05-06 22:04:55 +08:00
packages.go Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
queue.go Fix admin queue page title (#26409) 2023-08-10 02:05:37 +00:00
queue_tester.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
repos.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
runners.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
stacktrace.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
users.go User details page (#26713) 2023-08-31 11:21:18 +02:00
users_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00