Skip to content

Commit 67be0d0

Browse files
committed
Add more sanity check for Upload errors
add login icon in embedded
1 parent ecacea3 commit 67be0d0

File tree

8 files changed

+1144
-1110
lines changed

8 files changed

+1144
-1110
lines changed

embedded/nofile.h

Lines changed: 421 additions & 410 deletions
Large diffs are not rendered by default.

embedded/package-lock.json

Lines changed: 6 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

embedded/tool.html.gz

179 Bytes
Binary file not shown.

embedded/www/js/script.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,14 @@ xmlhttp.onreadystatechange = function() {
277277
nbitem++;
278278
}
279279
if (sublist[0].trim() == "authentication"){
280-
if (sublist[1].trim() == "no") authentication = false;
281-
else authentication = true;
280+
if (sublist[1].trim() == "no") {
281+
authentication = false;
282+
document.getElementById('loginicon').style.visibility = "hidden";
283+
}
284+
else {
285+
authentication = true;
286+
document.getElementById('loginicon').style.visibility = "visible";
287+
}
282288
nbitem++;
283289
}
284290
if (sublist[0].trim() == "webcommunication"){

embedded/www/tool.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,16 @@
3838
</svg>
3939
<span class="blacklink">Help</span></a>
4040
</td>
41-
<td style="width:100%;"></td>
41+
<td style="width:100%;">
42+
</td><td onclick='RL();' id="loginicon">
43+
<a class="btnimg">
44+
<svg width='1.3em' height='1.2em' viewBox='0 0 1300 1200'>
45+
<g transform='translate(50,1200) scale(1, -1)'>
46+
<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' />
47+
</g>
48+
</svg>
49+
</a>
50+
</td>
4251
<td style="text-align:right;">
4352
<span id="FWVERSION" class="blacklink"></span>
4453
</td>

esp3d/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020

2121
//version and sources location
22-
#define FW_VERSION "2.1.0.b36"
22+
#define FW_VERSION "2.1.0.b37"
2323
#define REPOSITORY "https://github.com/luc-github/ESP3D"
2424

2525
//Customize ESP3D ////////////////////////////////////////////////////////////////////////
@@ -39,7 +39,7 @@
3939

4040
//FEATURES - comment to disable //////////////////////////////////////////////////////////
4141

42-
//Do we use async webserver or not
42+
//Do we use async webserver or not (currntly deprecated do not enable it yet)
4343
//#define ASYNCWEBSERVER
4444

4545
//SERIAL_COMMAND_FEATURE: allow to send command by serial

0 commit comments

Comments
 (0)