From 40d9f1b2387cabfb3858e71afe99d33c9aab68bb Mon Sep 17 00:00:00 2001 From: paoloGuagnano Date: Sat, 10 Feb 2024 12:55:47 +0100 Subject: [PATCH] Add layout Upload file --- resources/views/words/index.blade.php | 45 ++++++++++--------- .../words/partials/upload-file.blade.php | 20 +++++++++ 2 files changed, 44 insertions(+), 21 deletions(-) create mode 100644 resources/views/words/partials/upload-file.blade.php diff --git a/resources/views/words/index.blade.php b/resources/views/words/index.blade.php index df56b78..9f0acc6 100644 --- a/resources/views/words/index.blade.php +++ b/resources/views/words/index.blade.php @@ -1,25 +1,4 @@ -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} - -{{-- @forelse ($words as $word)--}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- @empty--}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- @endforelse--}} -{{-- --}} -{{--
WordTranslation
{{$word->name}}{{$word->translation}}
No words
--}}

{{ __('Table Words') }} @@ -27,6 +6,30 @@
+
+
+
+
+
+
+ @include('words.partials.insert-word-form') +
+
+
+
+
+
+
+
+
+
+ @include('words.partials.upload-file') +
+
+
+
+
+
diff --git a/resources/views/words/partials/upload-file.blade.php b/resources/views/words/partials/upload-file.blade.php new file mode 100644 index 0000000..2850fae --- /dev/null +++ b/resources/views/words/partials/upload-file.blade.php @@ -0,0 +1,20 @@ +
+
+

+ {{ __('Upload CSV File ') }} +

+ +

+ {{ __("Upload file to add group of word in db") }} +

+
+ +
+ + {{----}} +
+



+ {{ __('Submit') }} +
+ +