Changeset 24a616f for resources/views/dashboard/users/index.blade.php
- Timestamp:
- 10/13/21 15:44:57 (3 years ago)
- Branches:
- develop, master
- Children:
- 120759b
- Parents:
- 194a359
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/users/index.blade.php
r194a359 r24a616f 8 8 <!-- Datatable --> 9 9 <link rel="stylesheet" href="{{ url('vendors/dataTable/dataTables.min.css') }}" type="text/css"> 10 10 11 @endsection 11 12 … … 36 37 <thead> 37 38 <tr> 38 <th>ID</th> 39 <th>Status</th> 39 <th> 40 <div class="custom-control custom-checkbox"> 41 <input type="checkbox" class="custom-control-input" id="user-list-select-all"> 42 <label class="custom-control-label" for="user-list-select-all"></label> 43 </div> 44 </th> 45 <th>State</th> 40 46 <th>Username</th> 41 47 <th>Name</th> 42 48 <th>Email</th> 43 49 <th>Phone Number</th> 44 <th> Registration Date</th>50 <th>Created at</th> 45 51 <th>Role</th> 52 <th>Status</th> 53 <th>Last seen</th> 46 54 <th>Actions</th> 47 55 </tr> … … 50 58 @foreach($users as $user) 51 59 <tr> 52 <td> {{$user->id }}</td>60 <td></td> 53 61 <td> 54 62 @if($user->is_confirmed) … … 63 71 </td> 64 72 <td> 65 <a href="#">{{$user->name .' '. $user->surname}}</a> 73 @include('dashboard.partials.avatar') 74 {{$user->username}} 66 75 </td> 67 <td>{{$user-> username}}</td>76 <td>{{$user->name .' '. $user->surname}}</td> 68 77 <td>{{$user->email}}</td> 69 78 <td>{{$user->mobile_number}}</td> 70 79 <td>{{ date('d.m.Y', strtotime($user->created_at)) }}</td> 71 80 <td>{{ $user->role->name }}</td> 81 <td> 82 @if(Cache::has('is_online' . $user->id)) 83 <span class="text-success">Online</span> 84 @else 85 <span class="text-secondary">Offline</span> 86 @endif 87 </td> 88 @if($user->last_seen==NULL) 89 <td>Never logged in</td> 90 @else 91 <td>{{ \Carbon\Carbon::parse($user->last_seen)->diffForHumans() }}</td> 92 @endif 72 93 @if($user->hasRole("Referent") && $user->is_confirmed) 73 94 <td> … … 97 118 98 119 @section('script') 120 <script src="{{ url('assets/js/examples/pages/user-list.js') }}"></script> 99 121 <!-- Datatable --> 100 122 <script src="{{ url('vendors/dataTable/dataTables.min.js') }}"></script> 101 102 <script src="{{ url('assets/js/examples/pages/user-list.js') }}"></script>103 123 @endsection
Note:
See TracChangeset
for help on using the changeset viewer.