admin.blade.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="card-body">
  4. <table class="table table-striped task-table">
  5. <thead>
  6. <th>Name</th>
  7. <th>Phone</th>
  8. <th>Email</th>
  9. <th>Address</th>
  10. <th>Completed</th>
  11. </thead>
  12. <tbody>
  13. @foreach($applications as $apl)
  14. <tr>
  15. <td class="table-text">
  16. <div>{{ $apl['name'] }}</div>
  17. </td>
  18. <td class="table-text">
  19. <div>{{ $apl['phone'] }}</div>
  20. </td>
  21. <td class="table-text">
  22. <div>{{ $apl['email'] }}</div>
  23. </td>
  24. <td class="table-text">
  25. <div>{{ $apl['address'] }}</div>
  26. </td>
  27. <td class="table-text">
  28. <div>
  29. @if($apl['completed'] == 1)
  30. {{-- <input type="checkbox" checked="checked" class="comp"/> --}}
  31. <img src="images/like.png" width="20"/>
  32. @else
  33. {{-- <input type="checkbox" class="comp"/> --}}
  34. <img src="images/dis2.png" width="20"/>
  35. @endif
  36. </div>
  37. </td>
  38. </tr>
  39. @endforeach
  40. </tbody>
  41. </table>
  42. </div>
  43. @endsection