You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 weeks ago
..
security Refactor DateUtils and merge TimeSince (#32409) 4 months ago
account.tmpl Remove all "floated" CSS styles (#32691) 3 months ago
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2 years ago
appearance.tmpl Initial support for colorblindness-friendly themes (#30625) 11 months ago
applications.tmpl Improve "generate new access token" form (#33730) 2 weeks ago
applications_oauth2.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
applications_oauth2_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
applications_oauth2_edit_form.tmpl add skip secondary authorization option for public oauth2 clients (#31454) 8 months ago
applications_oauth2_list.tmpl Improve "generate new access token" form (#33730) 2 weeks ago
blocked_users.tmpl Add user blocking (#29028) 1 year ago
grants_oauth2.tmpl Refactor DateUtils and merge TimeSince (#32409) 4 months ago
hook_new.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
keys.tmpl Allow options to disable user ssh keys configuration from the interface on app.ini (#29447) 1 year ago
keys_gpg.tmpl Refactor DateUtils and merge TimeSince (#32409) 4 months ago
keys_principal.tmpl Refactor DateUtils and merge TimeSince (#32409) 4 months ago
keys_ssh.tmpl enhancement: add additional command hints for PowerShell & CMD (#33548) 1 month ago
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
layout_head.tmpl Reduce margins on user settings page, introduce `flex-container` (#26046) 2 years ago
navbar.tmpl Allow disabling authentication related user features (#31535) 8 months ago
organization.tmpl Refactor Safe modifier (#29392) 1 year ago
packages.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 1 year ago
packages_cleanup_rules_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
packages_cleanup_rules_preview.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
profile.tmpl Add cropping support when modifying the user/org/repo avatar (#33498) 1 month ago
repos.tmpl Optimize repo-list layout to enhance visual experience (#31272) 9 months ago
runner_edit.tmpl Add user level action runners (#24995) 2 years ago