Преглед изворни кода

Addjusted time notes in OTA page

CaCO3 пре 3 година
родитељ
комит
e697cc5ec8
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      sd-card/html/ota_page.html

+ 2 - 2
sd-card/html/ota_page.html

@@ -193,13 +193,13 @@ function upload() {
     var upload_path = "/upload/firmware/" + filePath;
     var upload_path = "/upload/firmware/" + filePath;
 
 
     xhttp.open("POST", upload_path, true);
     xhttp.open("POST", upload_path, true);
-    document.getElementById("status").innerText = "Status: Uploading (takes up to 30s)...";
+    document.getElementById("status").innerText = "Status: Uploading (takes up to 60s)...";
     xhttp.send(file);
     xhttp.send(file);
 }
 }
 
 
 
 
 function extract() {
 function extract() {
-    document.getElementById("status").innerText = "Status: Processing on ESP32 (takes up to 2 minutes)...";
+    document.getElementById("status").innerText = "Status: Processing on ESP32 (takes up to 3 minutes)...";
 
 
     var xhttp = new XMLHttpRequest();
     var xhttp = new XMLHttpRequest();
     /* first delete the old firmware */	
     /* first delete the old firmware */