<?php $__env->startSection('content'); ?>
  <div class="nk-content nk-content-fluid">
                        <div class="container-xl wide-lg">
                            <div class="nk-content-body">

                                    <div class="nk-block-head nk-block-head-sm">
                                        <div class="nk-block-head-content">
                                            <div class="nk-block-title-group">
                                                <h6 class="nk-block-title title">Recent Activity</h6>
                                            </div>
                                            <div class="nk-block-des"><p>This information about the last login activity on your account.</p></div>
                                        </div>
                                    </div>
                                    <div class="card card-bordered">
                                        <table class="table table-ulogs">
                                            <thead class="thead-light">
                                                <tr>
                                                    <th class="tb-col-os">
                                                        <span class="overline-title">Browser <span class="d-sm-none">/ IP</span></span>
                                                    </th>
                                                    <th class="tb-col-ip"><span class="overline-title">IP</span></th>
                                                    <th class="tb-col-time"><span class="overline-title">Time</span></th>
                                                    <th class="tb-col-action"><span class="overline-title">Location</span></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                <?php $__currentLoopData = $activity; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <td class="tb-col-os"><?php echo e(isset($data->details) ? $data->details : 'N/A'); ?></td>
                                                    <td class="tb-col-ip"><span class="sub-text"><?php echo e(isset($data->user_ip) ? $data->user_ip : 'N/A'); ?></span></td>
                                                    <td class="tb-col-time"><span class="sub-text"><?php echo e(Carbon\Carbon::parse($data->created_at)->diffForHumans()); ?></span></td>
                                                    <td class="tb-col-action"><?php echo e(isset($data->location) ? $data->location : 'N/A'); ?></td>
                                                </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                            </tbody>
                                        </table>
                                    </div>
                                    <br>
                                    <?php echo e($activity->links()); ?>

                                </div>
                            </div>
                        </div>
                     <?php $__env->stopSection(); ?>

<?php echo $__env->make('include.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>