show.blade.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 justify-content-center">
  18. <div class="col-md-8">
  19. <div class="card">
  20. <div class="card-header">Profile</div>
  21. <div class="card-body">
  22. <div class="container px-0">
  23. <div class="row mb-3">
  24. <span class="col-md-4 text-md-end">{{ __('Name') }}</span>
  25. <span class="col-md-6">{{ $user->name }}</span>
  26. </div>
  27. <div class="row mb-3">
  28. <span class="col-md-4 text-md-end">{{ __('Email Address') }}</span>
  29. <span class="col-md-6">{{ $user->email }}</span>
  30. </div>
  31. <div class="row mb-3">
  32. <span class="col-md-4 text-md-end">{{ __('Image') }}</span>
  33. <img src="{{ $user->image }}" class="col-md-4" alt="{{ $user->name }}"/>
  34. </div>
  35. <div class="row mb-3">
  36. <span class="col-md-4 text-md-end">{{ __('Role') }}</span>
  37. <span class="col-md-6">{{ $role->name }}</span>
  38. </div>
  39. <div class="row">
  40. <div class="col-md-8 offset-md-4">
  41. <a href="{{ route('profiles.edit', $user->id) }}" class="btn btn-warning">Edit</a>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. @endsection