gitea/web_src/js/utils
silverwind 291a00dc57
Fix and clean up `ConfirmModal` (#31283)
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: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2024-06-07 13:42:31 +00:00
..
color.js Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 2024-04-07 16:19:25 +00:00
color.test.js Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 2024-04-07 16:19:25 +00:00
dom.js Fix and clean up `ConfirmModal` (#31283) 2024-06-07 13:42:31 +00:00
dom.test.js Fix and clean up `ConfirmModal` (#31283) 2024-06-07 13:42:31 +00:00
image.js Downscale pasted PNG images based on metadata (#29123) 2024-02-19 02:23:06 +00:00
image.test.js Downscale pasted PNG images based on metadata (#29123) 2024-02-19 02:23:06 +00:00
match.js Avoiding accessing undefined mentionValues (#26461) 2023-08-12 08:36:23 +00:00
match.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
time.js Have time.js use UTC-related getters/setters (#30857) 2024-05-06 09:36:53 +08:00
time.test.js Implement contributors graph (#27882) 2024-02-15 23:21:13 +01:00
url.js Support pasting URLs over markdown text (#29566) 2024-03-08 15:15:58 +00:00
url.test.js Support pasting URLs over markdown text (#29566) 2024-03-08 15:15:58 +00:00