Add "info" style to upload button + add help text when the dropzone is hidden.

This commit is contained in:
Kenn Jacobsen
2018-08-17 12:22:54 +02:00
parent 6c0d14e0f4
commit de8a24c691
5 changed files with 10 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
label-key="general_upload"
action="upload()"
disabled="lockedFolder"
button-style="info"
ng-if="acceptedMediatypes.length > 0">
</umb-button>
</div>

View File

@@ -37,6 +37,12 @@
</div>
</div>
<div ng-show="hideDropzone" ngf-drag-over-class="hide" class="text-center">
<small>
<localize key="media_dragFilesHereToUpload">You can drag files here to upload</localize>
</small>
</div>
<!-- List of uploading/uploaded files -->
<ul class="file-list" ng-show="done.length > 0 || queue.length > 0 || rejected.length > 0 || filesHolder.length > 0">