0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-28 13:13:38 +01:00
gitea/web_src/js/utils
Giteabot 5ca4c6d066
Fix and clean up ConfirmModal () ()
Backport  by @silverwind

Bug: orange button color was removed in
https://github.com/go-gitea/gitea/pull/30475, replaced with red
Bug: translation text was not html-escaped
Refactor: Replaced as much jQuery as possible, added useful
`createElementFromHTML`
Refactor: Remove colors checks that don't exist on `.link-action`

<img width="381" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/5900bf6a-8a86-4a86-b368-0559cbfea66e">

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2024-06-07 15:51:54 +02:00
..
color.js Fix and rewrite contrast color calculation, fix project-related bugs () 2024-04-07 16:19:25 +00:00
color.test.js Fix and rewrite contrast color calculation, fix project-related bugs () 2024-04-07 16:19:25 +00:00
dom.js Fix and clean up ConfirmModal () () 2024-06-07 15:51:54 +02:00
dom.test.js Fix and clean up ConfirmModal () () 2024-06-07 15:51:54 +02:00
image.js Downscale pasted PNG images based on metadata () 2024-02-19 02:23:06 +00:00
image.test.js Downscale pasted PNG images based on metadata () 2024-02-19 02:23:06 +00:00
match.js Avoiding accessing undefined mentionValues () 2023-08-12 08:36:23 +00:00
match.test.js Use vitest globals () 2023-09-27 04:37:13 +00:00
time.js Have time.js use UTC-related getters/setters () () 2024-05-06 10:01:22 +08:00
time.test.js Implement contributors graph () 2024-02-15 23:21:13 +01:00
url.js Support pasting URLs over markdown text () 2024-03-08 15:15:58 +00:00
url.test.js Support pasting URLs over markdown text () 2024-03-08 15:15:58 +00:00