
<?php $__env->startSection('team_select', 'active'); ?>
<?php $__env->startSection('container'); ?>
<!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0">Teams</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item">Teams</li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
      <?php if(session()->has('msg')): ?>
          <div class="alert alert-success" role="alert">
            <?php echo e(session('msg')); ?>

          </div>
        <?php endif; ?>
        <!-- Small boxes (Stat box) -->
        <div class="row">
        <div class="col-12">


<div class="card">
  <div class="card-header">
    <!-- <h3 class="card-title">DataTable with default features</h3> -->
    <a href="<?php echo e(route('team_insert')); ?>" class="btn btn-primary float-right">Add Team</a>
  </div>
  <!-- /.card-header -->
  <div class="card-body">
    <table id="example1" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th>Sl no</th>
            <th>Name</th>
            <th>Post</th>
            <th>Image</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
      <?php $__currentLoopData = $teams; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($list->id); ?></td>
            <td><?php echo e($list->name); ?></td>
            <td><?php echo e($list->post); ?></td>
            <td>
              <img src="<?php echo e(asset('storage/media/team/'.$list->image)); ?>" height="70px" width="70px" alt="">
            </td>
            <td>
                <a href="<?php echo e(route('team_edit')); ?>/<?php echo e($list->id); ?>">
                <i class="fa-regular fa-edit" style="color:green;"></i></a>&nbsp;
                <a onclick="return cnf()" href="<?php echo e(route('team_delete')); ?>/<?php echo e($list->id); ?>">
                <i class="fa-regular fa-trash-can" style="color:red;"></i></a>
            </td>
        </tr>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
    </table>
  </div>
  <!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
        </div>
        <!-- /.row -->
        <!-- Main row -->
       
        <!-- /.row (main row) -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <?php $__env->stopSection(); ?>
<?php echo $__env->make('backend/layouts/layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Work\Laravel\nibeedeeta\resources\views/backend/team.blade.php ENDPATH**/ ?>