Update view_log.php

This commit is contained in:
jakani24
2024-04-27 11:34:57 +02:00
parent 2e71803270
commit 94185846de

View File

@@ -106,8 +106,8 @@ $conn->close();
is3D: true,
};
var chart2 = new google.visualization.ColumnChart(document.getElementById('machine_spread'));
chart2.draw(data2, options2);
//var chart2 = new google.visualization.ColumnChart(document.getElementById('machine_spread'));
//chart2.draw(data2, options2);
}
</script>
@@ -207,8 +207,8 @@ $conn->close();
$stmt->execute();
$result = $stmt->get_result();
if($current_page==1){
echo("<div class='row'><div class='col' id='log_spread' style='width: 30%; height: auto;'></div>");
echo("<div style='display:none' class='col' id='machine_spread' style='width: 30%; height: auto;'></div></div>");
echo("<div id='log_spread' style='width: 30%; height: auto;'></div>");
//echo("<div style='display:none' class='col' id='machine_spread' style='width: 30%; height: auto;'></div></div>");
}
// Display log entries
echo '<table class="table" style="overflow-x:auto">';