diff --git a/esp3d/config.h b/esp3d/config.h index 78908c51..445259e7 100644 --- a/esp3d/config.h +++ b/esp3d/config.h @@ -68,7 +68,7 @@ #include #include "wifi.h" //version and sources location -#define FW_VERSION "0.7.8" +#define FW_VERSION "0.7.81" #define REPOSITORY "https://github.com/luc-github/ESP8266" diff --git a/esp3d/data/printer.tpl b/esp3d/data/printer.tpl index 6433d771..45722a9f 100644 --- a/esp3d/data/printer.tpl +++ b/esp3d/data/printer.tpl @@ -154,7 +154,7 @@ var Efeedrate=$E_FEEDRATE$; function Sendcommand(commandtxt){ var xmlhttp = new XMLHttpRequest(); var url = "http://$WEB_ADDRESS$/CMD?COM="+encodeURIComponent(commandtxt);; -xmlhttp.open("POST", url, true); +xmlhttp.open("GET", url, true); xmlhttp.send(); } @@ -196,19 +196,22 @@ var pulse=true; var initialization_done = false; var pos=0; function displaytemp(temperature, target,item,factor){ -var displaypicture = "\n\n"; +var displaypicture = "\n"; var description = String (temperature) + "/"; if (target>0)description += String (target); else description += "Off "; -displaypicture+="\n"; -displaypicture+="\n\n\n"; -displaypicture+="\n\n"; -displaypicture+="\n\n"; -displaypicture+="\n\n\n"; displaypicture+=description; -displaypicture+=" °C\n"; +displaypicture+=" °C\n"; +displaypicture+=" \n"; document.getElementById(item).innerHTML=displaypicture; } function displaystatus(status){ diff --git a/esp3d/data/settings.tpl b/esp3d/data/settings.tpl index f774b01f..8f7aaeb9 100644 --- a/esp3d/data/settings.tpl +++ b/esp3d/data/settings.tpl @@ -104,7 +104,7 @@ for (var i=0;i
"; content +=jsonresponse.files[i].name;