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/web_src/css
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>
21 hours ago
..
chroma
codemirror
editor Refactor markdown editor and use it for milestone description editor (#32688) 3 months ago
features Add cropping support when modifying the user/org/repo avatar (#33498) 3 weeks ago
markup
modules Improve "generate new access token" form (#33730) 21 hours ago
repo Fix flex width (#33414) 1 month ago
shared
standalone
themes Repo file list enhancements (#32835) 2 months ago
actions.css
admin.css
base.css Align sidebar gears to the right (#33721) 2 days ago
dashboard.css
explore.css Fix and/or comment some legacy CSS problems (#33015) 2 months ago
font_i18n.css
form.css Fix mCaptcha bug (#33659) 1 week ago
helpers.css
home.css Refactor language menu and dom utils (#32450) 4 months ago
index.css Improve "generate new access token" form (#33730) 21 hours ago
install.css
org.css Clean up legacy form CSS styles (#33081) 2 months ago
repo.css Clone button enhancements (#33362) 1 month ago
review.css Refactor markdown editor and use it for milestone description editor (#32688) 3 months ago
user.css