gitea/templates/user/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 +07:00
..
security Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +07:00
account.tmpl Fix Set Email Preference dropdown and button placement (#34255) 2025-04-22 10:24:29 +07:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +07:00
appearance.tmpl Improve theme display (#30671) 2025-03-08 21:38:11 +07:00
applications.tmpl Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +07:00
applications_oauth2.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +07:00
applications_oauth2_edit.tmpl
applications_oauth2_edit_form.tmpl add skip secondary authorization option for public oauth2 clients (#31454) 2024-07-19 14:28:30 +07:00
applications_oauth2_list.tmpl Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +07:00
blocked_users.tmpl Add user blocking (#29028) 2024-03-04 08:16:03 +07:00
grants_oauth2.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +07:00
hook_new.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +07:00
hooks.tmpl
keys.tmpl Allow options to disable user ssh keys configuration from the interface on app.ini (#29447) 2024-03-04 07:50:21 +07:00
keys_gpg.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +07:00
keys_principal.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +07:00
keys_ssh.tmpl enhancement: add additional command hints for PowerShell & CMD (#33548) 2025-02-11 04:14:37 +07:00
layout_footer.tmpl
layout_head.tmpl Reduce margins on user settings page, introduce `flex-container` (#26046) 2023-07-31 07:16:03 +07:00
navbar.tmpl Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +07:00
organization.tmpl Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +07:00
packages.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +07:00
packages_cleanup_rules_edit.tmpl
packages_cleanup_rules_preview.tmpl
profile.tmpl Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +07:00
repos.tmpl Remove unused or abused styles (#33918) 2025-03-17 22:11:24 +07:00
runner_edit.tmpl