gitea/templates/repo/settings
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
..
webhook Refactor dropdown ellipsis (#34123) 2025-04-05 03:21:11 +00:00
actions.tmpl
branches.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
collaboration.tmpl Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +00:00
deploy_keys.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
githook_edit.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
githooks.tmpl Refactor dropdown ellipsis (#34123) 2025-04-05 03:21:11 +00:00
layout_footer.tmpl
layout_head.tmpl Use flex-container for repo and org settings (#27418) 2023-10-04 08:47:54 +02:00
lfs.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
lfs_file.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
lfs_file_find.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
lfs_locks.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
lfs_pointers.tmpl code optimization (#31315) 2024-06-11 21:07:10 +08:00
navbar.tmpl Add anonymous access support for private/unlisted repositories (#34051) 2025-03-29 13:26:41 +08:00
options.tmpl Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +00:00
protected_branch.tmpl Update protected_branch.tmpl (#34193) 2025-04-14 13:41:00 +00:00
public_access.tmpl Add descriptions for private repo public access settings and improve the UI (#34057) 2025-03-29 21:24:27 +08:00
push_mirror_sync_modal.tmpl Fine tune push mirror UI (#33866) 2025-03-14 00:03:21 +00:00
runner_edit.tmpl
secrets.tmpl
tags.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00