diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
index f2cfaa4..eadde36 100644
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -17,5 +17,6 @@
+
\ No newline at end of file
diff --git a/html/semiauto/assets/js/log.js b/html/semiauto/assets/js/log.js
index 23560ba..4b95b66 100644
--- a/html/semiauto/assets/js/log.js
+++ b/html/semiauto/assets/js/log.js
@@ -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: [],
diff --git a/html/semiauto/log.html b/html/semiauto/log.html
index 26b701b..ed903fb 100644
--- a/html/semiauto/log.html
+++ b/html/semiauto/log.html
@@ -65,29 +65,7 @@
Description
-
-
-
999999
-
13-OKT-25
-
24:10:10
-
1.Lorem Ipsum 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.
-
2.Lorem Ipsum 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.
-
-
-
2222
-
13-OKT-25 Lorem Ipsum is simply dummy text of the printing and typesetting industry.
-
24:10:10
-
2.Lorem Ipsum 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.
-
2.Lorem Ipsum 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.
-
-
-
33333
-
13-OKT-25 Lorem Ipsum is simply dummy text of the printing and typesetting industry.
-
Text
-
3.Lorem Ipsum 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.
-
3. Lorem Ipsum 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.