added jupyter notebook and improve output
This commit is contained in:
@ -130,7 +130,10 @@
|
|||||||
const tbody = document.getElementById('log-table-body');
|
const tbody = document.getElementById('log-table-body');
|
||||||
tbody.innerHTML = '';
|
tbody.innerHTML = '';
|
||||||
|
|
||||||
data.last_10_entries.forEach(entry => {
|
const jumlahTampil = 20; // 💡 Ubah sesuai kebutuhan (bisa pakai input juga)
|
||||||
|
const entriesToShow = data.entries.slice(0, jumlahTampil); // Flexible slice
|
||||||
|
|
||||||
|
entriesToShow.forEach(entry => {
|
||||||
const row = document.createElement('tr');
|
const row = document.createElement('tr');
|
||||||
row.innerHTML = `
|
row.innerHTML = `
|
||||||
<td>${entry.id}</td>
|
<td>${entry.id}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user