Skip to content

Commit

Permalink
Add more sanity check for Upload errors
Browse files Browse the repository at this point in the history
add login icon in embedded
  • Loading branch information
luc-github committed Sep 3, 2019
1 parent ecacea3 commit 67be0d0
Show file tree
Hide file tree
Showing 8 changed files with 1,144 additions and 1,110 deletions.
831 changes: 421 additions & 410 deletions embedded/nofile.h

Large diffs are not rendered by default.

23 changes: 6 additions & 17 deletions embedded/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified embedded/tool.html.gz
Binary file not shown.
10 changes: 8 additions & 2 deletions embedded/www/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"){
Expand Down
11 changes: 10 additions & 1 deletion embedded/www/tool.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,16 @@
</svg>
<span class="blacklink">Help</span></a>
</td>
<td style="width:100%;"></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>
Expand Down
4 changes: 2 additions & 2 deletions esp3d/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

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

//Customize ESP3D ////////////////////////////////////////////////////////////////////////
Expand All @@ -39,7 +39,7 @@

//FEATURES - comment to disable //////////////////////////////////////////////////////////

//Do we use async webserver or not
//Do we use async webserver or not (currntly deprecated do not enable it yet)
//#define ASYNCWEBSERVER

//SERIAL_COMMAND_FEATURE: allow to send command by serial
Expand Down
Loading

0 comments on commit 67be0d0

Please sign in to comment.