Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="row">
- <div class="col-md-12">
- <?php echo show_alert($this->session->flashdata()); ?>
- <div class="card">
- <div class="card-header">
- <i class="nav-icon icon-docs"></i> <?php echo show($title); ?>
- <div class="pull-right">
- <a href="<?php echo base_url('master/kecamatan/tambah'); ?>" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> Tambah</a>
- </div>
- </div>
- <div class="card-body">
- <div class="row">
- <div class="col-md-12">
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-condensed table-datatable">
- <thead>
- <tr>
- <th style="width: 10px;">No</th>
- <th>Nama UPTD</th>
- <th>Nama Kecamatan</th>
- <th>Keterangan</th>
- <th style="width: 10px;">Pilihan</th>
- </tr>
- </thead>
- <tbody>
- <?php
- $no = 1;
- foreach ($list_data as $key => $data) :
- ?>
- <tr>
- <td class="text-center"><?php echo $no++; ?></td>
- <td><?php show($data->nama_uptd); ?></td>
- <td><?php show($data->nama); ?></td>
- <td><?php show($data->keterangan); ?></td>
- <td class="text-center">
- <div class="dropdown dropleft">
- <button class="btn btn-secondary btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- <i class="icon-menu"></i>
- </button>
- <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
- <a class="dropdown-item" href="<?php echo base_url('master/kecamatan/edit/'.$data->id); ?>"><i class="fa fa-edit"></i> Edit</a>
- <a class="dropdown-item btn-delete" href="<?php echo base_url('master/kecamatan/hapus/'.$data->id); ?>"><i class="fa fa-trash"></i> Hapus</a>
- </div>
- </div>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement