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>
2025-02-27 19:40:12 +00:00
..
chroma Various code view improvements (#30014) 2024-03-24 12:14:03 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Refactor markdown editor and use it for milestone description editor (#32688) 2024-12-04 02:11:34 +00:00
features Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
markup Fix poor table column width due to breaking words (#31473) 2024-06-24 17:48:43 +00:00
modules Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
repo Fix flex width (#33414) 2025-01-27 17:09:20 +00:00
shared Forbid deprecated `break-word` in CSS (#30934) 2024-05-10 12:25:49 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Repo file list enhancements (#32835) 2024-12-15 16:56:56 +00:00
actions.css Fix various overflows on actions view (#30344) 2024-04-15 19:46:52 +00:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Align sidebar gears to the right (#33721) 2025-02-27 00:03:23 +02:00
dashboard.css Pulse page improvements (#30149) 2024-04-14 09:21:16 +00:00
explore.css Fix and/or comment some legacy CSS problems (#33015) 2024-12-28 11:51:38 +00:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mCaptcha bug (#33659) 2025-02-20 22:53:38 +08:00
helpers.css Replace `gt-word-break` with `tw-break-anywhere` (#31183) 2024-06-04 13:57:11 +00:00
home.css Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
index.css Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
install.css Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
org.css Clean up legacy form CSS styles (#33081) 2025-01-03 04:01:19 +00:00
repo.css Clone button enhancements (#33362) 2025-01-27 02:07:29 +08:00
review.css Refactor markdown editor and use it for milestone description editor (#32688) 2024-12-04 02:11:34 +00:00
user.css Optimize repo-list layout to enhance visual experience (#31272) 2024-06-07 01:22:03 +02:00