2026-04-27 18:57:25 +07:00
|
|
|
<!DOCTYPE html>
|
2026-04-27 19:17:17 +07:00
|
|
|
<html lang="en" data-bs-theme="dark">
|
2026-04-27 18:57:25 +07:00
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2026-04-27 19:17:17 +07:00
|
|
|
<title>Log Viewer Pro // Dark Mode</title>
|
|
|
|
|
|
2026-04-27 18:57:25 +07:00
|
|
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
<link href="css/dataTables.bootstrap5.min.css" rel="stylesheet">
|
2026-04-27 19:17:17 +07:00
|
|
|
<script src="js/lucide.min.js"></script>
|
|
|
|
|
|
2026-04-27 18:57:25 +07:00
|
|
|
<style>
|
2026-04-27 19:17:17 +07:00
|
|
|
:root {
|
|
|
|
|
--bg-color: #0f111a;
|
|
|
|
|
--card-bg: #1a1c27;
|
|
|
|
|
--border-color: #2d303e;
|
|
|
|
|
--accent-color: #3d5afe;
|
2026-04-27 19:04:47 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
body {
|
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
|
color: #e0e0e0;
|
|
|
|
|
font-family: 'Inter', -apple-system, sans-serif;
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
overflow-x: hidden;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
/* Full Screen Drop Zone */
|
|
|
|
|
#drop-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: rgba(61, 90, 254, 0.9);
|
|
|
|
|
z-index: 9999;
|
|
|
|
|
display: none;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border: 4px dashed #fff;
|
|
|
|
|
color: white;
|
|
|
|
|
pointer-events: none;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
/* Sleek Table Design */
|
|
|
|
|
.main-container {
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
max-width: 1600px;
|
|
|
|
|
margin: 0 auto;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
.table-card {
|
2026-04-27 19:17:17 +07:00
|
|
|
background: var(--card-bg);
|
|
|
|
|
border: 1px solid var(--border-color);
|
2026-04-27 19:04:47 +07:00
|
|
|
border-radius: 12px;
|
2026-04-27 19:17:17 +07:00
|
|
|
padding: 1rem;
|
|
|
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
2026-04-27 19:04:47 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table.dataTable {
|
2026-04-27 19:17:17 +07:00
|
|
|
border: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table.dataTable thead th {
|
|
|
|
|
background: #242736;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
border-bottom: 1px solid var(--border-color) !important;
|
2026-04-27 19:04:47 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
/* Level Badges */
|
|
|
|
|
.lvl-badge {
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
padding: 2px 6px;
|
2026-04-27 19:04:47 +07:00
|
|
|
border-radius: 4px;
|
|
|
|
|
display: inline-block;
|
2026-04-27 19:17:17 +07:00
|
|
|
min-width: 40px;
|
2026-04-27 19:04:47 +07:00
|
|
|
text-align: center;
|
2026-04-27 19:01:18 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.lvl-TRC {
|
|
|
|
|
background: #424242;
|
|
|
|
|
color: #bdbdbd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.lvl-DBG {
|
|
|
|
|
background: #1e3a8a;
|
|
|
|
|
color: #93c5fd;
|
2026-04-27 19:01:18 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.lvl-INF {
|
|
|
|
|
background: #064e3b;
|
|
|
|
|
color: #6ee7b7;
|
2026-04-27 19:01:18 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.lvl-WRN {
|
|
|
|
|
background: #78350f;
|
|
|
|
|
color: #fcd34d;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.lvl-ERR {
|
|
|
|
|
background: #7f1d1d;
|
|
|
|
|
color: #fca5a5;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.lvl-CRT {
|
|
|
|
|
background: #ec4899;
|
|
|
|
|
color: white;
|
|
|
|
|
animation: pulse 2s infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
|
0% {
|
|
|
|
|
box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
70% {
|
|
|
|
|
box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Controls */
|
2026-04-27 19:04:47 +07:00
|
|
|
.details-control {
|
2026-04-27 19:01:18 +07:00
|
|
|
cursor: pointer;
|
2026-04-27 19:17:17 +07:00
|
|
|
color: var(--accent-color);
|
|
|
|
|
transition: 0.2s;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.details-control:hover {
|
|
|
|
|
transform: scale(1.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.exception-view {
|
|
|
|
|
background: #000;
|
|
|
|
|
color: #ff5555;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-family: 'Fira Code', monospace;
|
2026-04-27 19:04:47 +07:00
|
|
|
font-size: 0.75rem;
|
2026-04-27 19:17:17 +07:00
|
|
|
margin: 0.5rem 0;
|
|
|
|
|
border-left: 3px solid #7f1d1d;
|
2026-04-27 19:04:47 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
/* Search Bar Customization */
|
|
|
|
|
.dataTables_filter input {
|
|
|
|
|
background: #242736;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
width: 300px !important;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
.btn-more {
|
2026-04-27 19:17:17 +07:00
|
|
|
color: var(--accent-color);
|
2026-04-27 19:04:47 +07:00
|
|
|
cursor: pointer;
|
2026-04-27 19:17:17 +07:00
|
|
|
font-size: 0.75rem;
|
|
|
|
|
text-decoration: none;
|
2026-04-27 19:03:12 +07:00
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
.props-col {
|
|
|
|
|
color: #888;
|
|
|
|
|
font-family: monospace;
|
2026-04-27 19:04:47 +07:00
|
|
|
font-size: 0.75rem;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
<div id="drop-overlay">
|
|
|
|
|
<i data-lucide="upload-cloud" size="64"></i>
|
|
|
|
|
<h2 class="mt-3">Drop Log File to Import</h2>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="main-container">
|
|
|
|
|
<header class="d-flex justify-content-between align-items-center mb-4">
|
|
|
|
|
<div>
|
|
|
|
|
<h4 class="mb-0 fw-bold"><i data-lucide="terminal" class="me-2 text-primary"></i>LogView <span
|
|
|
|
|
class="text-primary">Pro</span></h4>
|
|
|
|
|
<p class="text-muted small mb-0">v3.0 • Dark Mode Enabled</p>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn btn-outline-primary btn-sm" onclick="document.getElementById('file-input').click()">
|
|
|
|
|
<i data-lucide="file-plus" class="me-1"></i> Open File
|
|
|
|
|
</button>
|
2026-04-27 19:01:18 +07:00
|
|
|
<input type="file" id="file-input" hidden accept=".log,.txt">
|
2026-04-27 19:17:17 +07:00
|
|
|
</header>
|
2026-04-27 18:57:25 +07:00
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
<div class="table-card">
|
|
|
|
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
2026-04-27 19:17:17 +07:00
|
|
|
<div class="d-flex align-items-center gap-3">
|
|
|
|
|
<select id="level-filter" class="form-select form-select-sm bg-dark border-secondary"
|
|
|
|
|
style="width: 150px;">
|
2026-04-27 19:04:47 +07:00
|
|
|
<option value="">All Levels</option>
|
2026-04-27 19:17:17 +07:00
|
|
|
<option value="CRT">CRT (Critical)</option>
|
|
|
|
|
<option value="ERR">ERR (Error)</option>
|
|
|
|
|
<option value="WRN">WRN (Warning)</option>
|
|
|
|
|
<option value="INF">INF (Info)</option>
|
|
|
|
|
<option value="DBG">DBG (Debug)</option>
|
|
|
|
|
<option value="TRC">TRC (Trace)</option>
|
2026-04-27 18:57:25 +07:00
|
|
|
</select>
|
2026-04-27 19:17:17 +07:00
|
|
|
<div id="stats-area" class="small text-muted"></div>
|
2026-04-27 18:57:25 +07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
<table id="log-table" class="table table-dark table-hover w-100">
|
2026-04-27 19:01:18 +07:00
|
|
|
<thead>
|
2026-04-27 18:57:25 +07:00
|
|
|
<tr>
|
2026-04-27 19:01:18 +07:00
|
|
|
<th width="30"></th>
|
2026-04-27 19:17:17 +07:00
|
|
|
<th width="120">Timestamp</th>
|
|
|
|
|
<th width="80">Level</th>
|
2026-04-27 18:57:25 +07:00
|
|
|
<th>Message</th>
|
2026-04-27 19:17:17 +07:00
|
|
|
<th width="300">Properties</th>
|
2026-04-27 18:57:25 +07:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody></tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-04-27 19:01:18 +07:00
|
|
|
<div class="modal fade" id="logModal" tabindex="-1">
|
2026-04-27 19:17:17 +07:00
|
|
|
<div class="modal-dialog modal-lg modal-dialog-centered">
|
|
|
|
|
<div class="modal-content border-secondary shadow-lg">
|
|
|
|
|
<div class="modal-header border-secondary">
|
|
|
|
|
<h6 class="modal-title">Log Message Detail</h6>
|
2026-04-27 19:01:18 +07:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
|
|
|
|
</div>
|
2026-04-27 19:17:17 +07:00
|
|
|
<div class="modal-body p-0">
|
|
|
|
|
<pre id="modal-body-content" class="m-0 p-3"
|
|
|
|
|
style="background:#000; color:#fff; font-size:0.8rem;"></pre>
|
2026-04-27 19:01:18 +07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-04-27 18:57:25 +07:00
|
|
|
<script src="js/jquery-3.7.0.min.js"></script>
|
|
|
|
|
<script src="js/jquery.dataTables.min.js"></script>
|
|
|
|
|
<script src="js/dataTables.bootstrap5.min.js"></script>
|
2026-04-27 19:01:18 +07:00
|
|
|
<script src="js/bootstrap.bundle.min.js"></script>
|
2026-04-27 18:57:25 +07:00
|
|
|
|
|
|
|
|
<script>
|
2026-04-27 19:17:17 +07:00
|
|
|
lucide.createIcons();
|
|
|
|
|
const TRUNCATE_LIMIT = 150;
|
2026-04-27 19:01:18 +07:00
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
$(document).ready(function () {
|
2026-04-27 19:04:47 +07:00
|
|
|
const table = $('#log-table').DataTable({
|
2026-04-27 19:17:17 +07:00
|
|
|
dom: '<"d-flex justify-content-between align-items-center mb-2"f>rtip',
|
|
|
|
|
pageLength: 50,
|
2026-04-27 18:57:25 +07:00
|
|
|
columns: [
|
|
|
|
|
{
|
2026-04-27 19:01:18 +07:00
|
|
|
className: 'details-control',
|
|
|
|
|
orderable: false,
|
|
|
|
|
data: null,
|
2026-04-27 19:17:17 +07:00
|
|
|
render: (d, t, row) => row.exception ? '<i data-lucide="chevron-right" size="16"></i>' : ''
|
2026-04-27 18:57:25 +07:00
|
|
|
},
|
2026-04-27 19:17:17 +07:00
|
|
|
{ data: 'time', className: 'text-muted' },
|
2026-04-27 19:01:18 +07:00
|
|
|
{
|
|
|
|
|
data: 'level',
|
2026-04-27 19:17:17 +07:00
|
|
|
render: l => `<span class="lvl-badge lvl-${l}">${l}</span>`
|
2026-04-27 19:01:18 +07:00
|
|
|
},
|
2026-04-27 18:57:25 +07:00
|
|
|
{
|
|
|
|
|
data: 'message',
|
2026-04-27 19:04:47 +07:00
|
|
|
render: function (data) {
|
|
|
|
|
if (data.length > TRUNCATE_LIMIT) {
|
2026-04-27 19:17:17 +07:00
|
|
|
return `<span>${data.substring(0, TRUNCATE_LIMIT)}</span><a class="btn-more ms-1" onclick="viewMore('${btoa(unescape(encodeURIComponent(data)))}')">...more</a>`;
|
2026-04-27 19:01:18 +07:00
|
|
|
}
|
|
|
|
|
return data;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
},
|
2026-04-27 19:01:18 +07:00
|
|
|
{
|
|
|
|
|
data: 'props',
|
2026-04-27 19:17:17 +07:00
|
|
|
className: 'props-col',
|
|
|
|
|
render: p => p ? `<span title="${p} text-truncate d-block" style="max-width:280px">${p}</span>` : ''
|
2026-04-27 19:01:18 +07:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
order: [[1, 'asc']],
|
2026-04-27 19:17:17 +07:00
|
|
|
drawCallback: function () { lucide.createIcons(); },
|
|
|
|
|
language: { search: "", searchPlaceholder: "Filter logs..." }
|
2026-04-27 18:57:25 +07:00
|
|
|
});
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
// Expandable Exception Rows
|
2026-04-27 19:01:18 +07:00
|
|
|
$('#log-table tbody').on('click', 'td.details-control', function () {
|
2026-04-27 19:17:17 +07:00
|
|
|
let tr = $(this).closest('tr'), row = table.row(tr);
|
2026-04-27 19:01:18 +07:00
|
|
|
if (row.child.isShown()) {
|
|
|
|
|
row.child.hide();
|
2026-04-27 19:17:17 +07:00
|
|
|
$(this).html('<i data-lucide="chevron-right" size="16"></i>');
|
2026-04-27 19:01:18 +07:00
|
|
|
} else if (row.data().exception) {
|
2026-04-27 19:17:17 +07:00
|
|
|
row.child(`<div class="exception-view">${row.data().exception}</div>`).show();
|
|
|
|
|
$(this).html('<i data-lucide="chevron-down" class="text-danger" size="16"></i>');
|
2026-04-27 19:01:18 +07:00
|
|
|
}
|
2026-04-27 19:17:17 +07:00
|
|
|
lucide.createIcons();
|
2026-04-27 18:57:25 +07:00
|
|
|
});
|
|
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
// Level Filter
|
|
|
|
|
$('#level-filter').on('change', function () {
|
2026-04-27 19:17:17 +07:00
|
|
|
table.column(2).search(this.value ? `^${this.value}$` : '', true, false).draw();
|
2026-04-27 18:57:25 +07:00
|
|
|
});
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
// --- FULL SCREEN DRAG & DROP ---
|
|
|
|
|
let dragCounter = 0;
|
|
|
|
|
window.addEventListener('dragenter', e => {
|
2026-04-27 19:01:18 +07:00
|
|
|
e.preventDefault();
|
2026-04-27 19:17:17 +07:00
|
|
|
dragCounter++;
|
|
|
|
|
$('#drop-overlay').css('display', 'flex');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
window.addEventListener('dragleave', e => {
|
|
|
|
|
dragCounter--;
|
|
|
|
|
if (dragCounter === 0) $('#drop-overlay').hide();
|
2026-04-27 18:57:25 +07:00
|
|
|
});
|
2026-04-27 19:17:17 +07:00
|
|
|
|
|
|
|
|
window.addEventListener('dragover', e => e.preventDefault());
|
|
|
|
|
|
|
|
|
|
window.addEventListener('drop', e => {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
dragCounter = 0;
|
|
|
|
|
$('#drop-overlay').hide();
|
|
|
|
|
processFile(e.dataTransfer.files[0]);
|
|
|
|
|
});
|
|
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
$('#file-input').on('change', e => processFile(e.target.files[0]));
|
2026-04-27 18:57:25 +07:00
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
function processFile(file) {
|
2026-04-27 19:01:18 +07:00
|
|
|
if (!file) return;
|
2026-04-27 18:57:25 +07:00
|
|
|
const reader = new FileReader();
|
2026-04-27 19:01:18 +07:00
|
|
|
reader.onload = e => {
|
2026-04-27 19:17:17 +07:00
|
|
|
const logs = parseLogs(e.target.result);
|
|
|
|
|
table.clear().rows.add(logs).draw();
|
|
|
|
|
updateStats(logs);
|
2026-04-27 18:57:25 +07:00
|
|
|
};
|
|
|
|
|
reader.readAsText(file);
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
function parseLogs(text) {
|
2026-04-27 18:57:25 +07:00
|
|
|
const lines = text.split(/\r?\n/);
|
2026-04-27 19:04:47 +07:00
|
|
|
const results = [];
|
2026-04-27 19:17:17 +07:00
|
|
|
// Support 6 levels: TRC, DBG, WRN, INF, ERR, CRT
|
|
|
|
|
const headerRegex = /^(\d{2}:\d{2}:\d{2}\.\d{3})\s\[(TRC|DBG|WRN|INF|ERR|CRT)\]\s(.*)$/;
|
2026-04-27 18:57:25 +07:00
|
|
|
|
|
|
|
|
lines.forEach(line => {
|
2026-04-27 19:17:17 +07:00
|
|
|
if (!line.trim()) return;
|
2026-04-27 19:04:47 +07:00
|
|
|
const match = line.match(headerRegex);
|
2026-04-27 19:17:17 +07:00
|
|
|
|
2026-04-27 19:04:47 +07:00
|
|
|
if (match) {
|
|
|
|
|
let content = match[3].trim();
|
2026-04-27 19:17:17 +07:00
|
|
|
let message = content, props = "";
|
|
|
|
|
|
|
|
|
|
// Parse props at the end: (key: value)
|
|
|
|
|
const lastParenIdx = content.lastIndexOf(' (');
|
|
|
|
|
if (lastParenIdx !== -1 && content.endsWith(')')) {
|
|
|
|
|
const possibleProps = content.substring(lastParenIdx + 2, content.length - 1);
|
|
|
|
|
if (possibleProps.includes(':')) {
|
|
|
|
|
props = possibleProps;
|
|
|
|
|
message = content.substring(0, lastParenIdx).trim();
|
2026-04-27 19:04:47 +07:00
|
|
|
}
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
2026-04-27 19:17:17 +07:00
|
|
|
results.push({ time: match[1], level: match[2], message, props, exception: "" });
|
|
|
|
|
} else if (results.length > 0) {
|
|
|
|
|
results[results.length - 1].exception += (results[results.length - 1].exception ? "\n" : "") + line;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
|
|
|
|
});
|
2026-04-27 19:04:47 +07:00
|
|
|
return results;
|
2026-04-27 18:57:25 +07:00
|
|
|
}
|
2026-04-27 19:04:47 +07:00
|
|
|
|
2026-04-27 19:17:17 +07:00
|
|
|
function updateStats(logs) {
|
|
|
|
|
const count = logs.length;
|
|
|
|
|
const errs = logs.filter(l => l.level === 'ERR' || l.level === 'CRT').length;
|
|
|
|
|
$('#stats-area').html(`<span class="me-3">${count} total logs</span> <span class="text-danger">${errs} errors/criticals</span>`);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.viewMore = function (encoded) {
|
2026-04-27 19:04:47 +07:00
|
|
|
const text = decodeURIComponent(escape(atob(encoded)));
|
|
|
|
|
$('#modal-body-content').text(text);
|
|
|
|
|
new bootstrap.Modal('#logModal').show();
|
|
|
|
|
};
|
2026-04-27 18:57:25 +07:00
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|