1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/resources/views/portal/ninja2020/upload/index.blade.php

19 lines
871 B
PHP
Raw Normal View History

2020-08-18 16:01:25 +02:00
<link rel="stylesheet" href="{{ asset('vendor/dropzone-5.7.0/dist/min/basic.min.css') }}">
<script src="{{ asset('vendor/dropzone-5.7.0/dist/min/dropzone.min.js') }}"></script>
2021-01-14 11:08:15 +01:00
{{-- TODO: HOSTED --}}
<div class="bg-white rounded shadow p-4 mb-10">
2020-08-20 03:14:24 +02:00
<span class="text-sm mb-4 block text-gray-500 break-words">{{ ctrans('texts.allowed_file_types' )}} png, ai, svg, jpeg, tiff, pdf, gif, psd, txt, doc, xls, ppt, xlsx, docx, pptx</span>
2021-01-14 10:37:45 +01:00
<form action="{{ route('client.upload.store') }}" class="dropzone p-8 border-4 border-dashed border-gray-200 rounded-md" method="post" enctype="multipart/form-data">
2020-08-18 16:01:25 +02:00
@csrf
<div class="fallback">
2021-01-14 10:37:45 +01:00
<input name="file[]" type="file" multiple/>
2020-08-18 16:01:25 +02:00
</div>
</form>
2021-01-14 10:37:45 +01:00
</div>
2022-02-21 21:52:37 +01:00
<script>
Dropzone.prototype.defaultOptions.dictDefaultMessage = '{!! ctrans('texts.dropzone_default_message') !!}';
</script>