gitea/templates
silverwind dd8dde2be8
replace jquery-minicolors with coloris (#30055)
Get rid of one more jQuery dependant and have a nicer color picker as
well.

Now there is only a single global color picker init because that is all
that's necessary because the elements are present on the page when the
init code runs. The init is slightly weird because the module only takes
a selector instead of DOM elements directly.

The label modals now also perform form validation because previously it
was possible to trigger a 500 error `Color cannot be empty.` by clearing
out the color value on labels.

<img width="867" alt="Screenshot 2024-03-25 at 00 21 05"
src="https://github.com/go-gitea/gitea/assets/115237/71215c39-abb1-4881-b5c1-9954b4a89adb">
<img width="860" alt="Screenshot 2024-03-25 at 00 20 48"
src="https://github.com/go-gitea/gitea/assets/115237/a12cb68f-c38b-4433-ba05-53bbb4b1023e">
2024-03-29 04:00:07 +01:00
..
admin Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Add svg linter and fix incorrect svgs (#30086) 2024-03-26 11:19:15 +00:00
explore Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Fix: Organization Interface Display Issue (#30133) 2024-03-27 12:48:09 +00:00
package Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
projects replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
repo replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
shared Migrate font-family to tailwind (#30118) 2024-03-28 08:31:07 +00:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
swagger Add API for Variables (#29520) 2024-03-28 20:40:35 +00:00
user Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00