mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 13:17:12 +00:00
2e542f17a3
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"> (cherry picked from commit dd8dde2be89921b2b1497c6cc5eafdde213429cb)
112 lines
1.8 KiB
Plaintext
112 lines
1.8 KiB
Plaintext
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
*.o
|
|
*.a
|
|
*.so
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
|
|
# IntelliJ
|
|
.idea
|
|
# Goland's output filename can not be set manually
|
|
/go_build_*
|
|
|
|
# MS VSCode
|
|
.vscode
|
|
__debug_bin*
|
|
|
|
# Architecture specific extensions/prefixes
|
|
*.[568vq]
|
|
[568vq].out
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
_testmain.go
|
|
|
|
*.exe
|
|
*.test
|
|
*.prof
|
|
|
|
*coverage.out
|
|
coverage.all
|
|
cpu.out
|
|
|
|
/modules/migration/bindata.go
|
|
/modules/migration/bindata.go.hash
|
|
/modules/options/bindata.go
|
|
/modules/options/bindata.go.hash
|
|
/modules/public/bindata.go
|
|
/modules/public/bindata.go.hash
|
|
/modules/templates/bindata.go
|
|
/modules/templates/bindata.go.hash
|
|
|
|
*.db
|
|
*.log
|
|
|
|
/gitea
|
|
/gitea-vet
|
|
/debug
|
|
/integrations.test
|
|
|
|
/bin
|
|
/dist
|
|
/custom/*
|
|
!/custom/conf
|
|
/custom/conf/*
|
|
!/custom/conf/app.example.ini
|
|
/data
|
|
/indexers
|
|
/log
|
|
/tests/integration/gitea-integration-*
|
|
/tests/integration/indexers-*
|
|
/tests/e2e/gitea-e2e-*
|
|
/tests/e2e/indexers-*
|
|
/tests/e2e/reports
|
|
/tests/e2e/test-artifacts
|
|
/tests/e2e/test-snapshots
|
|
/tests/*.ini
|
|
/yarn.lock
|
|
/yarn-error.log
|
|
/npm-debug.log*
|
|
/public/assets/js
|
|
/public/assets/css
|
|
/public/assets/fonts
|
|
/public/assets/img/avatar
|
|
/vendor
|
|
/web_src/fomantic/node_modules
|
|
/web_src/fomantic/build/*
|
|
!/web_src/fomantic/build/semantic.js
|
|
!/web_src/fomantic/build/semantic.css
|
|
!/web_src/fomantic/build/themes
|
|
/web_src/fomantic/build/themes/*
|
|
!/web_src/fomantic/build/themes/default
|
|
/web_src/fomantic/build/themes/default/assets/*
|
|
!/web_src/fomantic/build/themes/default/assets/fonts
|
|
/web_src/fomantic/build/themes/default/assets/fonts/*
|
|
!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2
|
|
!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2
|
|
/VERSION
|
|
/.air
|
|
/.go-licenses
|
|
|
|
# Snapcraft
|
|
snap/.snapcraft/
|
|
parts/
|
|
stage/
|
|
prime/
|
|
*.snap
|
|
*.snap-build
|
|
*_source.tar.bz2
|
|
.DS_Store
|
|
|
|
# Make evidence files
|
|
/.make_evidence
|
|
|
|
# Manpage
|
|
/man
|