75 lines
3.1 KiB
HTML
75 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
{% include "head.html" %}
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
|
|
</head>
|
|
<body>
|
|
{% include "navbar.html" %}
|
|
<main class="content px-3 py-4">
|
|
<div class="container-fluid">
|
|
<div class="mb-3">
|
|
<h3 class="fw-bold fs-4 my-3">Tabel User</h3>
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<table class="table table-striped" id="logTable">
|
|
<thead>
|
|
<tr class="highlight">
|
|
<th scope="col">Id</th>
|
|
<th scope="col">Nama</th>
|
|
<th scope="col">Divisi</th>
|
|
<th scope="col">Created</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in data %}
|
|
<tr>
|
|
<td>{{item[0]}}</td>
|
|
<td>{{item[1]}}</td>
|
|
<td>{{item[2]}}</td>
|
|
<td>{{item[4]}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<footer class="footer">
|
|
<div class="container-fluid">
|
|
<div class="row text-body-secondary">
|
|
<div class="col-6 text-start ">
|
|
<a class="text-body-secondary" href="#">
|
|
<strong></strong>
|
|
</a>
|
|
</div>
|
|
<div class="col-6 text-end text-body-secondary d-none d-md-block">
|
|
<ul class="list-inline mb-0">
|
|
<li class="list-inline-item">
|
|
<a class="text-body-secondary" href="#">Contact</a>
|
|
</li>
|
|
<li class="list-inline-item">
|
|
<a class="text-body-secondary" href="#">About Us</a>
|
|
</li>
|
|
<li class="list-inline-item">
|
|
<a class="text-body-secondary" href="#">Terms & Conditions</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('#logTable').DataTable();
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|