admin.blade.php 901 B

12345678910111213141516171819202122232425
  1. @extends('layout')
  2. @section('title', "Окно админимтратора")
  3. @section('content')
  4. <table style="background-color: #e6e6f2; border-spacing: 0px; width: 60%">
  5. <tr style="background-color: #b7a7c2">
  6. <th style="border: 2px solid black">Name</th>
  7. <th style="border: 2px solid black">Lastname</th>
  8. <th style="border: 2px solid black">Age</th>
  9. <th style="border: 2px solid black">Mail</th>
  10. <th style="border: 2px solid black">City</th>
  11. </tr>
  12. @foreach ($data as $id=>$item)
  13. <tr>
  14. <td style="border: 2px solid black">{{$item->name}}</td>
  15. <td style="border: 2px solid black">{{$item->lastname}}</td>
  16. <td style="border: 2px solid black">{{$item->age}}</td>
  17. <td style="border: 2px solid black">{{$item->email}}</td>
  18. <td style="border: 2px solid black">{{$item->city}}</td>
  19. </tr>
  20. @endforeach
  21. <table>
  22. @endsection