0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-19 02:40:00 +01:00
gitea/templates/repo/issue
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
..
fields Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
labels replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
milestone
view_content Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-28 15:19:24 +00:00
branch_selector_field.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
card.tmpl
choose.tmpl
comment_tab.tmpl
filter_actions.tmpl
filter_list.tmpl
filters.tmpl
label_precolors.tmpl
labels.tmpl
list.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
milestone_issues.tmpl
milestone_new.tmpl
milestones.tmpl
navbar.tmpl Fix menu buttons in issues and release (#30056) 2024-03-25 13:52:54 +00:00
new_form.tmpl When the title in the issue has a value, set the text cursor at the end of the text. (#30090) 2024-03-27 15:20:10 +08:00
new.tmpl
openclose.tmpl
search.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
view_content.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
view_title.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
view.tmpl