@@ -107,7 +110,17 @@ select {
basepath = "http://192.168.178.26";
basepath = "",
param;
-
+
+function doReboot() {
+ if (confirm("Are you sure you want to reboot? Did you save the config?")) {
+ var stringota = "/reboot";
+ window.location = stringota;
+ window.location.href = stringota;
+ window.location.assign(stringota);
+ window.location.replace(stringota);
+ }
+}
+
function ChangeSelection(){
aktindex = parseInt(document.getElementById("index").value);
UpdateReference();
diff --git a/sd-card/html/edit_analog.html b/sd-card/html/edit_analog.html
index 61d4237c..572cd094 100644
--- a/sd-card/html/edit_analog.html
+++ b/sd-card/html/edit_analog.html
@@ -129,6 +129,9 @@ th, td {
+
+
+
@@ -147,8 +150,17 @@ th, td {
enhanceCon = false;
lockAR = true;
basepath = "http://192.168.178.26";
-
-
+
+function doReboot() {
+ if (confirm("Are you sure you want to reboot? Did you save the config?")) {
+ var stringota = "/reboot";
+ window.location = stringota;
+ window.location.href = stringota;
+ window.location.assign(stringota);
+ window.location.replace(stringota);
+ }
+}
+
function EnDisableAnalog() {
isEnabled = document.getElementById("Category_Analog_enabled").checked;
diff --git a/sd-card/html/edit_digits.html b/sd-card/html/edit_digits.html
index 711db2f1..6a62566a 100644
--- a/sd-card/html/edit_digits.html
+++ b/sd-card/html/edit_digits.html
@@ -119,6 +119,9 @@ th, td {
+
+
+
@@ -140,6 +143,15 @@ th, td {
lockAR = true;
basepath = "http://192.168.178.26";
+ function doReboot() {
+ if (confirm("Are you sure you want to reboot? Did you save the config?")) {
+ var stringota = "/reboot";
+ window.location = stringota;
+ window.location.href = stringota;
+ window.location.assign(stringota);
+ window.location.replace(stringota);
+ }
+ }
function EnDisableDigits() {
isEnabled = document.getElementById("Category_Digits_enabled").checked;
diff --git a/sd-card/html/edit_reference.html b/sd-card/html/edit_reference.html
index 23d4551b..74c3cdaa 100644
--- a/sd-card/html/edit_reference.html
+++ b/sd-card/html/edit_reference.html
@@ -35,6 +35,7 @@ table {
Create Reference out of Raw Image
+
Note: After saving a new Reference Image, make sure to update the Alignment Marks and the ROI's and reboot once!
@@ -85,6 +86,9 @@ table {
+
+
+
@@ -102,6 +106,16 @@ table {
basepath = "http://192.168.178.26";
isActReference = false;
param;
+
+ function doReboot() {
+ if (confirm("Are you sure you want to reboot? Did you save the config?")) {
+ var stringota = "/reboot";
+ window.location = stringota;
+ window.location.href = stringota;
+ window.location.assign(stringota);
+ window.location.replace(stringota);
+ }
+ }
function doTake(){
var xhttp = new XMLHttpRequest();