RSM-43 Add DropZoneJS

This commit is contained in:
Miguel Nogueira 2020-10-10 18:38:35 +01:00
parent 9b4bdefd81
commit 61d01b3a9b
5 changed files with 20 additions and 0 deletions

View File

@ -607,6 +607,22 @@ return [
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css', 'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css',
], ],
], ],
[
'name' => 'DropzoneJS',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => '/js/plugins/dropzone.min.js'
],
[
'type' => 'css',
'asset' => false,
'location' => '/css/dropzone.min.css'
]
]
]
], ],
], ],
]; ];

1
public/css/basic.min.css vendored Normal file
View File

@ -0,0 +1 @@
.dropzone,.dropzone *{box-sizing:border-box}.dropzone{position:relative}.dropzone .dz-preview{position:relative;display:inline-block;width:120px;margin:0.5em}.dropzone .dz-preview .dz-progress{display:block;height:15px;border:1px solid #aaa}.dropzone .dz-preview .dz-progress .dz-upload{display:block;height:100%;width:0;background:green}.dropzone .dz-preview .dz-error-message{color:red;display:none}.dropzone .dz-preview.dz-error .dz-error-message,.dropzone .dz-preview.dz-error .dz-error-mark{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{display:block}.dropzone .dz-preview .dz-error-mark,.dropzone .dz-preview .dz-success-mark{position:absolute;display:none;left:30px;top:30px;width:54px;height:58px;left:50%;margin-left:-27px}

1
public/css/dropzone.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
public/js/plugins/dropzone.min.js vendored Normal file

File diff suppressed because one or more lines are too long