gitea/templates/user/settings
Guillaume 303af554c9
Improve "generate new access token" form (#33730)
Fix: https://github.com/go-gitea/gitea/issues/33519

As discussed in [PR
#33614](https://github.com/go-gitea/gitea/pull/33614), the
ScopedAccessTokenSelector Vue component is not particularly useful.

This PR removes the component and reverts to using HTML templates. It
also introduces some (hopefully) useful refactoring.

The Vue component was causing the UX bug reported in the linked issue.
Required form fields are now properly working, as expected (see
screenshot).

![Screenshot from 2025-02-25
22-00-28](https://github.com/user-attachments/assets/41167854-0718-48b0-a3ee-75ca3a7b8b20)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-27 19:40:12 +00:00
..
security Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
account.tmpl Remove all "floated" CSS styles (#32691) 2024-12-03 03:54:33 +08:00
actions.tmpl
appearance.tmpl Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
applications.tmpl Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
applications_oauth2.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00: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 -04:00
applications_oauth2_list.tmpl Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
blocked_users.tmpl Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
grants_oauth2.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
hook_new.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00: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 +00:00
keys_gpg.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
keys_principal.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
keys_ssh.tmpl enhancement: add additional command hints for PowerShell & CMD (#33548) 2025-02-11 04:14:37 +08:00
layout_footer.tmpl
layout_head.tmpl Reduce margins on user settings page, introduce `flex-container` (#26046) 2023-07-31 07:16:03 +00:00
navbar.tmpl Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
organization.tmpl Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +00:00
packages.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
packages_cleanup_rules_edit.tmpl
packages_cleanup_rules_preview.tmpl
profile.tmpl Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
repos.tmpl Optimize repo-list layout to enhance visual experience (#31272) 2024-06-07 01:22:03 +02:00
runner_edit.tmpl