discourse/app/assets/javascripts/admin/addon/components/images-uploader.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
516 B
Handlebars
Raw Normal View History

<label
class="btn"
disabled={{this.uploadingOrProcessing}}
title={{i18n "admin.site_settings.uploaded_image_list.upload.title"}}
>
{{d-icon "far-image"}}&nbsp;{{this.uploadButtonText}}
<input
{{did-insert this.uppyUpload.setup}}
class="hidden-upload-field"
disabled={{this.uppyUpload.uploading}}
type="file"
accept="image/*"
multiple
/>
2018-07-18 18:57:43 +08:00
</label>
{{#if this.uploadingOrProcessing}}
<span>{{i18n "upload_selector.uploading"}}
{{this.uppyUpload.uploadProgress}}%</span>
2018-07-18 18:57:43 +08:00
{{/if}}