summaryrefslogtreecommitdiffstats
path: root/templates/repo/upload.tmpl
blob: eef51994ab73cb9ea979da17bda60ce235f9f952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div
	class="ui dropzone"
	data-link-url="{{.UploadLinkUrl}}"
	data-upload-url="{{.UploadUrl}}"
	data-remove-url="{{.UploadRemoveUrl}}"
	data-accepts="{{.UploadAccepts}}"
	data-max-file="{{.UploadMaxFiles}}"
	data-max-size="{{.UploadMaxSize}}"
	data-default-message="{{ctx.Locale.Tr "dropzone.default_message"}}"
	data-invalid-input-type="{{ctx.Locale.Tr "dropzone.invalid_input_type"}}"
	data-file-too-big="{{ctx.Locale.Tr "dropzone.file_too_big"}}"
	data-remove-file="{{ctx.Locale.Tr "dropzone.remove_file"}}"
>
	<div class="files"></div>
</div>