added jupyter notebook and improve output

This commit is contained in:
kicap
2025-07-23 19:29:38 +08:00
parent e438f98cc3
commit ca9e103515

View File

@ -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>