show.blade.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--
  2. Copyright (C) 2022 Echedey López Romero <elr@disroot.org>
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. -->
  14. @extends('layouts.app')
  15. @section('content')
  16. <div class="container">
  17. <div class="row mb-3">
  18. <h1 class="col-12 mb-0 text-center">Penalty information</h1>
  19. </div>
  20. <div class="row">
  21. <div class="col-lg-4 col-md-6 col-sm-10 col-12 mx-auto">
  22. <div class="container">
  23. <div class="row mb-3">
  24. <span class="col-md-4 col-12 my-md-auto mb-2">User name</span>
  25. <span class="col-md-8 col-12">{{ $penalty->user->name }}</span>
  26. </div>
  27. <div class="row mb-3">
  28. <span class="col-md-4 col-12 my-md-auto mb-2">User email</span>
  29. <span class="col-md-8 col-12">{{ $penalty->user->email }}</span>
  30. </div>
  31. <div class="row mb-3">
  32. <span class="col-xl-4 col-12 my-xl-auto mb-2">User image</span>
  33. <img src="{{ asset($penalty->user->image) }}" class="col-xl-6 col-12 mb-xl-0 mb-2 img-thumbnail" alt="{{ $penalty->user->name }}"/>
  34. </div>
  35. <div class="row">
  36. <span class="col-md-4 col-12 my-md-auto mb-2">End</span>
  37. <span class="col-md-8 col-12">{{ \Carbon\Carbon::parse($penalty->end)->format('d/m/Y') }}</span>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. @endsection