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
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
user Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +00:00
actions.tmpl
config.tmpl Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
config_settings.tmpl
cron.tmpl
dashboard.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
hook_new.tmpl
hooks.tmpl
layout_footer.tmpl
layout_head.tmpl
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
queue_manage.tmpl
self_check.tmpl
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
system_status.tmpl
trace_tabs.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +00:00