Commit 2b44ab1f authored by Nicolas Widart's avatar Nicolas Widart

Adding dropzone

parent 04172d47
This diff is collapsed.
......@@ -11,6 +11,33 @@
@stop
@section('content')
<style>
.dropzone {
border: 1px dashed #CCC;
position: relative;
min-height: 227px;
margin-bottom: 20px;
display: block;
}
.dz-message {
font-size: 24px;
color: #CCC;
text-align: center;
left: 50%;
top: 50%;
width: 260px;
height: 70px;
margin: -35px 0 0 -130px;
position: absolute;
z-index: 1000;
}
</style>
<div class="row col-md-12">
<form action="/file-upload"
class="dropzone"
id="my-awesome-dropzone"></form>
</div>
<div class="row">
<div class="col-md-12">
@include('flash::message')
......@@ -18,3 +45,8 @@
</div>
</div>
@stop
@section('scripts')
<script src="{!! Module::asset('media', 'js/dropzone.js') !!}"></script>
@stop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment