Merge pull request #2873 from kjac/media-picker-update

Media picker: Minor style update + add help text.
This commit is contained in:
Mads Rasmussen
2018-08-23 09:29:05 +02:00
committed by GitHub
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">