2020-10-05 13:49:33 +08:00
|
|
|
<div
|
|
|
|
class="ui dropzone"
|
|
|
|
id="dropzone"
|
2020-10-11 07:49:59 +08:00
|
|
|
data-link-url="{{.UploadLinkUrl}}"
|
2020-10-05 13:49:33 +08:00
|
|
|
data-upload-url="{{.UploadUrl}}"
|
|
|
|
data-remove-url="{{.UploadRemoveUrl}}"
|
|
|
|
data-accepts="{{.UploadAccepts}}"
|
|
|
|
data-max-file="{{.UploadMaxFiles}}"
|
|
|
|
data-max-size="{{.UploadMaxSize}}"
|
|
|
|
data-default-message="{{.i18n.Tr "dropzone.default_message"}}"
|
|
|
|
data-invalid-input-type="{{.i18n.Tr "dropzone.invalid_input_type"}}"
|
|
|
|
data-file-too-big="{{.i18n.Tr "dropzone.file_too_big"}}"
|
|
|
|
data-remove-file="{{.i18n.Tr "dropzone.remove_file"}}"
|
|
|
|
></div>
|