commit 05/02/2026

This commit is contained in:
2026-02-05 16:20:40 +07:00
parent 5e128ab36a
commit 4a6df6bef4
12 changed files with 660 additions and 433 deletions

View File

@@ -16,16 +16,20 @@ function load_log_data(datevalue){
data.forEach(function(item, index){
tblog.row.add({
index: index + 1,
date: item.datenya,
time: item.timenya,
source: item.machine,
message: item.description
})
date: item.date,
time: item.time,
source: item.source,
description: item.description
});
});
tblog.draw();
} else {
console.log("No log data found for date:", datevalue);
alert("No log data found for the selected date.");
}
},function(error){
console.error("Error fetching log data:", error);
alert("Error fetching log data : " + error.message);
});
}
@@ -37,7 +41,7 @@ $(document).ready(function () {
{title: 'Date', data: 'date'},
{title: 'Time', data: 'time'},
{title: 'Source', data: 'source'},
{title: 'Message', data: 'message'}
{title: 'Description', data: 'description'}
],
pageLength: 25,
data: [],

View File

@@ -65,29 +65,7 @@
<th class="class50 wrap" data-sortable="true">Description</th>
</tr>
</thead>
<tbody class="w-100 table-fixed" id="tbodylog">
<tr>
<td>999999</td>
<td>13-OKT-25</td>
<td>24:10:10</td>
<td><strong>1.Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&nbsp;<br><br></td>
<td><strong><span style="color: rgb(0, 0, 0);">2.Lorem Ipsum</span></strong><span style="color: rgb(0, 0, 0);">&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&nbsp;</span></td>
</tr>
<tr>
<td>2222</td>
<td>13-OKT-25<br><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry.<br><br><br></td>
<td>24:10:10</td>
<td><strong>2.Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&nbsp;</td>
<td><strong>2.Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&nbsp;</td>
</tr>
<tr>
<td>33333</td>
<td>13-OKT-25<br><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry.<br><br></td>
<td>Text</td>
<td><strong>3.Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&nbsp;</td>
<td><strong>3. Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&nbsp;</td>
</tr>
</tbody>
<tbody class="w-100 table-fixed" id="tbodylog"></tbody>
</table>
</div>
</div>