<table class="table table-hover table-bordered table-responsive">
  <thead>
    <tr>
      <td width="150"><b>No</b></td>
      <td width="150"><b>Jenis Pegawai</b></td>
      <td width="250"><b>Jabatan</b></td>
    </tr>
  </thead>
  <tbody>
    <?php $i = 1; foreach ($dewas as $row) { ?>
    <tr>
      <td><?php echo $i; ?></td>
      <td><?php echo $row->nama; ?></td>
      <td><?php echo $row->jabatan; ?></td>
    </tr>
    <?php $i++; } ?>
  </tbody>
</table>