gitea/templates/admin
wxiaoguang f63822fe64
Fix autofocus behavior (#34397)
The "autofocus" was abused or misbehaved:

1. When users visit a page but they are not going to change a field,
then the field shouldn't get "autofocus"
* the "auth" / "user" page: in most cases, users do not want to change
the names
    * see also the GitHub's "settings" page behavior.
2. There shouldn't be duplicate "autofocus" inputs in most cases, only
the first one focuses
3. When a panel is shown, the "autofocus" should get focus
    * "add ssh key" panel

This PR fixes all these problems and by the way remove duplicate
"isElemHidden" function.
2025-05-08 18:26:18 +00:00
..
applications Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
auth Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +00:00
emails Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +08:00
org Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +08:00
packages Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +08:00
repo Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +08:00
runners Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
user Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +00:00
actions.tmpl Added instance-level variables (#28115) 2023-12-25 07:28:59 +00:00
config.tmpl Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
config_settings.tmpl Move admin routers from /admin to /-/admin (#32189) 2024-10-10 04:56:49 +00:00
cron.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
dashboard.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
hook_new.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Fix flash message for flex-container (#30657) 2024-04-23 08:31:51 +00:00
navbar.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
notice.tmpl Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +08:00
perftrace.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
queue.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
queue_manage.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
self_check.tmpl Add cache test for admins (#31265) 2024-06-17 21:22:39 +02:00
stacktrace-row.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
stacktrace.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
stats.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
system_status.tmpl Auto-update the system status in admin dashboard (#29163) 2024-02-16 02:52:25 +00:00
trace_tabs.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +00:00