view.blade.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @extends('admin.layout.index')
  2. @push('css-head')
  3. @endpush
  4. @section('content')
  5. <!-- Page header -->
  6. <div class="page-header page-header-light">
  7. <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
  8. <div class="d-flex">
  9. <div class="breadcrumb">
  10. <a href="{{url('/admin')}}" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> Dashboard</a>
  11. <a href="{{url('/admin/permissions')}}" class="breadcrumb-item"> Permissions</a>
  12. <span class="breadcrumb-item active">View</span>
  13. </div>
  14. </div>
  15. </div>
  16. </div>
  17. <!-- /page header -->
  18. <!-- Content area -->
  19. <div class="content">
  20. <div class="card">
  21. <div class="table-responsive">
  22. <table class="table">
  23. <tbody>
  24. <tr>
  25. <td class="font-weight-bold">Name:</td>
  26. <td>{{ $permission->display_name }}</td>
  27. </tr>
  28. <tr>
  29. <td class="font-weight-bold">Code:</td>
  30. <td>{{ $permission->name }}</td>
  31. </tr>
  32. <tr>
  33. <td class="font-weight-bold">Parent:</td>
  34. <td>{{ @$permission->parent_id==0?'Parent':$permission->parent->display_name }}</td>
  35. </tr>
  36. <tr>
  37. <td class="font-weight-bold">Created at:</td>
  38. <td>{{date('F j, y h:i a', strtotime($permission->created_at))}}</td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. </div>
  43. </div>
  44. </div>
  45. <!-- /content area -->
  46. @endsection
  47. @push('scripts')
  48. @endpush