gitea/templates
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
..
admin Improve admin user view page (#33735) 2025-02-27 17:47:37 +08:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Remove superflous tw-content-center (#33741) 2025-02-27 19:05:28 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Always show the "rerun" button for action jobs (#33692) 2025-02-24 08:40:46 +00:00
explore Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Improve button layout on small screens (#33633) 2025-02-18 11:02:40 +00:00
package Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
projects Fix project issues list and counting (#33594) 2025-02-17 05:14:56 +00:00
repo Clone repository with Tea CLI (#33725) 2025-02-27 18:18:02 +00:00
shared Add No Results Prompt Message on Issue List Page (#33699) 2025-02-24 18:24:56 +00:00
status Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
swagger allow filtering /repos/{owner}/{repo}/pulls by target base branch queryparam (#33684) 2025-02-27 17:50:44 +00:00
user Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
install.tmpl Supplement and Improvement for #32558 (#32585) 2024-11-21 02:42:37 +00:00
post-install.tmpl Optimize the installation page (#32994) 2024-12-31 04:49:26 +00:00