Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Haberler committed May 9, 2023
1 parent 2b586b9 commit cf59a87
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/ESPxWebFlMgrWp.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// inline guard. Did I mention that c/c++ is broken by design?
#ifndef ESPxWebFlMgrWp_h
#define ESPxWebFlMgrWp_h

// this file has been created by makeESPxWebFlMgrWp\do.cmd

//*****************************************************************************************************
static const char ESPxWebFlMgrWpindexpage[] PROGMEM = R"==x==(
// inline guard. Did I mention that c/c++ is broken by design?
#ifndef ESPxWebFlMgrWp_h
#define ESPxWebFlMgrWp_h

// this file has been created by makeESPxWebFlMgrWp\do.cmd

//*****************************************************************************************************
static const char ESPxWebFlMgrWpindexpage[] PROGMEM = R"==x==(
<!DOCTYPE html>
<html lang="en">
<head>
Expand Down Expand Up @@ -51,11 +51,11 @@ static const char ESPxWebFlMgrWpindexpage[] PROGMEM = R"==x==(
</div>
</body>
</html>

)==x==";

static const char ESPxWebFlMgrWpjavascript[] PROGMEM = R"==x==(


)==x==";

static const char ESPxWebFlMgrWpjavascript[] PROGMEM = R"==x==(

function compressurlfile(source) {
msgline("Fetching file...");
var request = new XMLHttpRequest();
Expand Down Expand Up @@ -115,7 +115,7 @@ function executecommand(command) {
}

function downloadfile(filename) {
window.location.href = "/c?dwn=" + filename;
window.location.href = "/c?dwn=/" + filename;
}

function deletefile(filename) {
Expand Down Expand Up @@ -222,7 +222,7 @@ function uploadFileProzessor() {
clearInterval(uploadFileProzessorhndlr);
} else {
var file = globaldropfilelisthlpr[transferitem];
msgline("Please wait. Transferring file "+file.name+"...");
msgline("Please wait. Transferring file "+file.name+"...");
console.log('process file ' + file.name);
transferitem++;
uploadFile(file,transferitem==globaldropfilelisthlpr.length);
Expand Down Expand Up @@ -302,12 +302,12 @@ function downloadall() {
//->
window.onload = getfileinsert;

)==x==";


//*****************************************************************************************************
static const char ESPxWebFlMgrWpcss[] PROGMEM = R"==g==(

)==x==";


//*****************************************************************************************************
static const char ESPxWebFlMgrWpcss[] PROGMEM = R"==g==(

div {
margin: 1px;
padding: 0px;
Expand Down Expand Up @@ -498,7 +498,7 @@ div {
display: grid;
grid-template-columns: repeat(3, max-content);
}
)==g==";


#endif
)==g==";


#endif

0 comments on commit cf59a87

Please sign in to comment.