<main class="main-wrapper">
    <div class="main-content">
      <!-- orders section -->
      <div class="d-flex justify-content-between flex-wrap mb-3">
      <div>
        <h3>Users</h3>
       
      </div>
      <a href="<?php echo base_url().'Jobs/add' ?>" class="btn btnAdd"> Add New Job</a>
      </div>
      <div class="table-responsive  card px-2 my-2  ">
        <table id="example" class="table tableStriped">
          <thead>
            <tr>
              <th scope="col ">
                <p class=" mb-0 thfont">Job Name</p>
              </th>
              
              

              <th scope="col ">
                <p class=" mb-0 thfont">Location</p>
              </th>

             
             
              <th scope="col ">
                <p class=" mb-0 thfont">Actions</p>
              </th>
            </tr>
          </thead>
          <div class="">
            <tbody class=" ">
              <!-- Add table rows with data here -->
<?php foreach($travelslist as $j=>$t){ ?>
              <tr>
                <td><?php echo $t['jobName'] ?></td>
               

                <td><?php echo $t['jobLocation'] ?></td>



             
                             <td>
                             <div class="dropdown">
               
               <button type="button" class="btn  py-0"  data-bs-toggle="dropdown" aria-expanded="false">
                 <i class="fa-solid fa-ellipsis-vertical"></i>
                </button>
               <ul class="dropdown-menu">
                 <li><a class="dropdown-item" href="<?php echo base_url().'Jobs/viewjob/'.$j ?>">View</a></li>
                 <li><a class="dropdown-item" href="<?php echo base_url().'Jobs/editjob/'.$j ?>">Edit</a></li>
                 <li><a class="dropdown-item" href="<?php echo base_url().'Jobs/deletejob/'.$j ?>">Delete</a></li>
               </ul>
             </div>
                </td>
              </tr>
<?php } ?>
              <!-- Add more rows as needed -->

            </tbody>
          </div>
        </table>
      </div>
       
       
        
      </div>


      <div>
      


       
      </div>

    </div>
    </div>
  </main>