consolidate php second batch

This commit is contained in:
2025-12-09 00:36:46 +00:00
parent eba6536050
commit eb84719955
8 changed files with 328 additions and 351 deletions

View File

@@ -167,9 +167,10 @@ function doTheInsert(label1, value1, label2, value2) {
}
function updatetable() {
$.getJSON("single.php?camid=" + camid, function(caminfo){
$.getJSON("main.php?service=single&camid=" + camid, function(caminfo){
document.getElementById('camstats').innerHTML = '';
// Add header row
var headerRow = document.createElement('tr');
headerRow.innerHTML = '<th colspan="4" style="text-align: center; background-color: #e0e0e0; font-size: 1.2em;">Camera Information</th>';