From 03900b5b617b2510c5df19cec084e3e861a44589 Mon Sep 17 00:00:00 2001 From: FlavioBarachino Date: Thu, 5 Oct 2023 16:22:21 +0200 Subject: [PATCH] Rivisto impostazione layout dei tasks anche in dashboard --- resources/views/layouts/dashboard.blade.php | 49 ++++++++++------ resources/views/tasks/list.blade.php | 62 +++++++++++++-------- 2 files changed, 70 insertions(+), 41 deletions(-) diff --git a/resources/views/layouts/dashboard.blade.php b/resources/views/layouts/dashboard.blade.php index 046514c..6aa1a9a 100644 --- a/resources/views/layouts/dashboard.blade.php +++ b/resources/views/layouts/dashboard.blade.php @@ -79,24 +79,37 @@
- + @foreach($mieitask as $task) +
+
+
+
+ +
+
+ User Image +
+
+
+
+ + {{ $task->titolo}}
+
+ {{ $task->descrizione }}
+
+
+
+ Creato il: {{ date_format(date_create($task->creato_il),'d/m/Y')}} da {{App\Models\User::getUserById($task->assegnato_a)->name }} +
+
+
+
+
+ @endforeach
diff --git a/resources/views/tasks/list.blade.php b/resources/views/tasks/list.blade.php index 2d0e516..c395e27 100644 --- a/resources/views/tasks/list.blade.php +++ b/resources/views/tasks/list.blade.php @@ -4,6 +4,10 @@

Lista Attività

@endsection +@section('css') + +@endsection + @section('content')
@@ -14,33 +18,41 @@ class="fa fa-pencil-square-o fw">Nuova Attività
-
-
-
-
- Tutte le Attività +@foreach($tasks as $task) +
+
+
+
+
-
-
    - @foreach($tasks as $task) -
  • - - - +
    + User Image +
    +
    +
    +
    + + {{ $task->titolo}}
    -
    - {{ $task->titolo}} -
    -
  • - @endforeach -
+ {{ $task->descrizione }}
+
+
+
+ Creato il: {{ date_format(date_create($task->creato_il),'d/m/Y')}} da {{App\Models\User::getUserById($task->assegnato_a)->name }} +
- -
+
+ @endforeach +
+ + +