1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- @extends('admin.layout.index')
- @push('css-head')
- @endpush
- @section('content')
- <!-- Page header -->
- <div class="page-header page-header-light">
- <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
- <div class="d-flex">
- <div class="breadcrumb">
- <a href="{{url('/admin')}}" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> Dashboard</a>
- <a href="{{url('/admin/admins')}}" class="breadcrumb-item"> Admins</a>
- <span class="breadcrumb-item active">View</span>
- </div>
- </div>
- </div>
- </div>
- <!-- /page header -->
- <!-- Content area -->
- <div class="content">
- <div class="card">
- <div class="table-responsive">
- <table class="table">
- <tbody>
- <tr>
- <td class="font-weight-bold">Name:</td>
- <td>{{ $admin->name }}</td>
- </tr>
- <tr>
- <td class="font-weight-bold">Email:</td>
- <td>{{ $admin->email }}</td>
- </tr>
- <td class="font-weight-bold">Role:</td>
- <td>{{ $admin->roles->first()?$admin->roles->first()->name:'--' }}</td>
- </tr>
- <tr>
- <td class="font-weight-bold">Status:</td>
- <td>
- @if($admin->status == 1)
- <span class="badge bg-success">{{ 'On' }}</span>
- @else
- <span class="badge bg-danger">{{ 'Off' }}</span>
- @endif
- </td>
- </tr>
- <tr>
- <td class="font-weight-bold">Created at:</td>
- <td>{{date('F j, y h:i a', strtotime($admin->created_at))}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <!-- /content area -->
- @endsection
- @push('scripts')
- @endpush
|