1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-30 06:08:35 +00:00

Move dropzone.js to npm/webpack (#10645)

- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0
- make `csrf` available on window.config
This commit is contained in:
silverwind
2020-03-07 22:06:15 +01:00
committed by GitHub
parent 0c2148c037
commit 9d3e69e867
14 changed files with 38 additions and 2196 deletions

View File

@@ -29,9 +29,6 @@
{{if .RequireDatetimepicker}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.datetimepicker/jquery.datetimepicker.js"></script>
{{end}}
{{if .RequireDropzone}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.js"></script>
{{end}}
{{if .RequireU2F}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
{{end}}