<?php
/**
 * File			: user_list.php
 * Description  : View untuk halaman user
 * Created By	: Hendi
 * Created Date : 11 Feb 2021
 * Last Update  : 06 Apr 2021
**/
?>
<div class="container-fluid">
	<div class="row">
		<div class="col-md-12">
			<div class="card">
				<div class="card-header card-header-info">
					<h4 class="card-title">List User</h4>
					<p class="card-category">Menampilkan data user</p>
				</div>
				<div class="card-body">
					<div class="toolbar">
						<a id="btn-add" href="<?= base_url('user/add') ?>" rel="tooltip" title class="btn btn-info btn-fab" data-original-title="Input Baru"><i class="material-icons">border_color</i><div class="ripple-container"></div></a>
					</div>
					<div class="material-datatables">
						<table id="dt-<?= $mod ?>" class="table table-striped table-no-bordered table-hover dataTable dtr-inline" cellspacing="0" width="100%" role="grid">
							<thead>
								<tr role="row">
									<th>User ID</th>
									<th>Nama Lengkap</th>
									<th>Level</th>
									<th>Keterangan</th> 
									<th>Aksi</th>
								</tr>
							</thead>
							<tbody></tbody>
							<tfoot></tfoot>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	//_mod dideklarasikan di myscrypt.js
	_mod = '<?= $mod ?>';
</script>