FEATURE: style file manager

This commit is contained in:
Michal Kváček
2016-08-23 23:07:44 +02:00
parent f744ca81ca
commit 0a6528a845
10 changed files with 300 additions and 5 deletions
@@ -0,0 +1,20 @@
<form method="POST" action="{{route('upload.postFile')}}" enctype="multipart/form-data">
{!! csrf_field() !!}
@if(isset($directory))
<input type="hidden" name="directoryId" value="{{$directory->id}}" />
@endif
<input type="file" multiple name="files[]" class="form-control" id="file" />
<input type="text" name="name" id="name" class="form-control" placeholder="@lang('admin/fileManager.name')"
value="{{old('name')}}" />
<input type="text" name="keywords" placeholder="@lang('admin/fileManager.keywords')" class="form-control"
id="keywords" value="{{old('keywords')}}" />
<textarea rows="3" name="description" class="form-control" placeholder="@lang('admin/fileManager.description')"
id="description">{{old('description')}}</textarea>
<button type="submit" class="btn btn-primary">@lang('admin/fileManager.upload')</button>
</form>