<?php $__env->startSection('content'); ?>
  <div class="page-content"><div class="container"><div class="row"><div class="col-lg-12 main-content"><div class="card content-area"><div class="card-innr"><div class="card-head"><h4 class="card-title">Activity</h4></div><div class="card-text"><p>Here is your recent activities. You can clear your log  or disable tracking option from security settings. </p></div><div class="gaps-1-5x"></div><table class="data-table dt-init activity-table" data-items="10"><thead><tr class="data-item data-head"><th class="data-col activity-time"><span>Date</span></th><th class="data-col activity-device"><span>Location</span></th><th class="data-col activity-browser"><span>Device</span></th><th class="data-col activity-ip"><span>IP</span></th></tr></thead><tbody>

<?php $__currentLoopData = $activity; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  <tr class="data-item"><td class="data-col activity-time"><?php echo e(Carbon\Carbon::parse($data->created_at)->diffForHumans()); ?></td><td class="data-col activity-device"><?php echo e($data->location); ?></td><td class="data-col activity-browser"><?php echo e($data->details); ?></td><td class="data-col activity-ip"><?php echo e($data->user_ip); ?></td></tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

  </tbody></table></div><!-- .card-innr --></div><!-- .card --></div></div></div><!-- .container --></div>
<?php $__env->stopSection(); ?>

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