We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a547e commit 53194e5Copy full SHA for 53194e5
1 file changed
resources/views/tasks/search.blade.php
@@ -0,0 +1,39 @@
1
+@extends('layouts.app')
2
+
3
4
+@section('content')
5
6
+<div class="container">
7
+ @if(count($details) > 0)
8
+ <p> The Search results for your query <b> {{ $query }} </b> are :</p>
9
+ <h2>Task details</h2>
10
+ <table class="table table-striped">
11
+ <thead>
12
+ <tr>
13
+ <th>Title</th>
14
+ <th>Created_at</th>
15
+ <th>Category</th>
16
+ <th>Start_Date</th>
17
+ <th>End_Date</th>
18
+ </tr>
19
+ </thead>
20
+ <tbody>
21
+ @foreach($details as $task)
22
23
+ <td>{{$task->title}}</td>
24
+ <td>{{$task->create_at}}</td>
25
+ <td>{{$task->category}}</td>
26
+ <td>{{$task->start_date}}</td>
27
+ <td>{{$task->end_date}}</td>
28
29
+ @endforeach
30
+ </tbody>
31
+ </table>
32
+ @else
33
+ No results found
34
+ @endif
35
+</div>
36
37
38
39
+@endsection
0 commit comments