mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-31 01:59:54 +02:00
more upload error sanity check
add login icon in embedded
This commit is contained in:
@@ -277,8 +277,14 @@ xmlhttp.onreadystatechange = function() {
|
||||
nbitem++;
|
||||
}
|
||||
if (sublist[0].trim() == "authentication"){
|
||||
if (sublist[1].trim() == "no") authentication = false;
|
||||
else authentication = true;
|
||||
if (sublist[1].trim() == "no") {
|
||||
authentication = false;
|
||||
document.getElementById('loginicon').style.visibility = "hidden";
|
||||
}
|
||||
else {
|
||||
authentication = true;
|
||||
document.getElementById('loginicon').style.visibility = "visible";
|
||||
}
|
||||
nbitem++;
|
||||
}
|
||||
if (sublist[0].trim() == "webcommunication"){
|
||||
|
@@ -39,6 +39,15 @@
|
||||
<span class="blacklink">Help</span></a>
|
||||
</td>
|
||||
<td style="width:100%;"></td>
|
||||
<td onclick='RL();' id="loginicon">
|
||||
<a class="btnimg">
|
||||
<svg width='1.3em' height='1.2em' viewBox='0 0 1300 1200'>
|
||||
<g transform='translate(50,1200) scale(1, -1)'>
|
||||
<path fill='black' d='M900 800v200q0 83 -58.5 141.5t-141.5 58.5h-300q-82 0 -141 -59t-59 -141v-200h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h900q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-100zM400 800v150q0 21 15 35.5t35 14.5h200 q20 0 35 -14.5t15 -35.5v-150h-300z' />
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
<span id="FWVERSION" class="blacklink"></span>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user