<?php echo $__env->make('admin/partial/header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <!-- start page container -->
        <div class="page-container">
 			<!-- start sidebar menu -->
 			<?php echo $__env->make('admin/partial/nav', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            <!-- end sidebar menu --> 
			<!-- start page content -->
            <div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Devices List</div>
                            </div>
                            <?php echo $__env->make('admin/partial/sub2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                            <!-- <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li class="active">Devices</li>
                            </ol> -->
                        </div>
                    </div>
                  
                  
                  
                    
                    <div class="row">
   <div class="col-md-12">
      <div class="card card-topline-purple">
         <div class="card-body ">
           
            <div id="example3_wrapper" class="dataTables_wrapper container-fluid dt-bootstrap4">
               
               <div class="row">
                  <div class="col-sm-12">
                     <div class="dataTables_scroll">
                        
                        <div class="dataTables_scrollBody" style="position: relative; overflow: auto; width: 100%;">
                           <table id="example3" class="display full-width dataTable" role="grid" aria-describedby="example3_info" style="width: 909px;">
                              <thead>
                                 <tr role="row" style="height: 0px;">
                                  <th class="sorting_asc" aria-controls="example3" rowspan="1" colspan="1" style="width: 136.458px; padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px;" aria-label="Column 1: activate to sort column descending" aria-sort="ascending">
                                       Device Token
                                    </th>
                                     <th class="sorting_asc" aria-controls="example3" rowspan="1" colspan="1" style="width: 136.458px; padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px;" aria-label="Column 1: activate to sort column descending" aria-sort="ascending">
                                      Platform <br>(1=>Android)<br>(0=>IOS)
                                    </th>
                                    <th class="sorting" aria-controls="example3" rowspan="1" colspan="1" style="width: 142.014px; padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px;" aria-label="Column 2: activate to sort column ascending">
                                       Last accessed
                                    </th>
                                    <th class="sorting" aria-controls="example3" rowspan="1" colspan="1" style="width: 144.236px; padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px;" aria-label="Column 3: activate to sort column ascending">
                                      Action
                                    </th>
                                   
                                    
                                 </tr>
                              </thead>
                              <tbody>
                              <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                 <tr role="row" class="odd">
                                    <td><?php echo e(substr($value->token,-20)); ?> ...</td>
                                    <td><?php echo e($value->platform); ?></td>
                                    <td><?php echo e($value->updated_at); ?></td>
                                    <td><a href="<?php echo e(url('DeleteDevice')); ?>/<?php echo e($value->id); ?>">Delete</a></td> 
                                 </tr>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                              </tbody>
                              <tfoot>
                                 <tr style="height: 0px;">
                                    <th rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 158.472px;">
                                       <div class="dataTables_sizing" style="height:0;overflow:hidden;">Column 1</div>
                                    </th>
                                    <th rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 164.028px;">
                                       <div class="dataTables_sizing" style="height:0;overflow:hidden;">Column 2</div>
                                    </th>
                                    <th rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 166.25px;">
                                       <div class="dataTables_sizing" style="height:0;overflow:hidden;">Column 3</div>
                                    </th>
                              
                                 </tr>
                              </tfoot>
                              
                           </table>
                        </div>
                        
                     </div>
                  </div>
               </div>
              
            </div>
         </div>
      </div>
   </div>
</div>
                    
                </div>
              
            </div>
            <!-- end page content -->
            
            
        </div>
        <!-- end page container -->
        <?php echo $__env->make('admin/partial/footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>