Skip to content

Commit f21865f

Browse files
committed
Remote debug GUI
1 parent 824847c commit f21865f

File tree

7 files changed

+5582
-6
lines changed

7 files changed

+5582
-6
lines changed

src/web_static/web_server.home.html.h

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

src/web_static/web_server.home.js.h

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/web_static/web_server.lib.js.h

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
static const char CONTENT_TERM_HTML[] PROGMEM =
2+
"<html> <head> <title>OpenEVSE Terminal</title> <style> body {\n"
3+
" color:#fff;\n"
4+
" background-color:#300a24;\n"
5+
" }\n"
6+
" pre {\n"
7+
" word-break: break-all;\n"
8+
" white-space: pre-wrap;\n"
9+
" } </style> <script src=\"term.js\"></script> </head> <body> <pre id=\"term\"></pre> </body> </html>\n";

src/web_static/web_server.term.js.h

Lines changed: 5563 additions & 0 deletions
Large diffs are not rendered by default.

src/web_static/web_server_static_files.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include "web_server.lib.js.h"
88
#include "web_server.ohm.jpg.h"
99
#include "web_server.style.css.h"
10+
#include "web_server.term.html.h"
11+
#include "web_server.term.js.h"
1012
#include "web_server.wifi_portal.html.h"
1113
#include "web_server.wifi_portal.js.h"
1214
#include "web_server.wifi_signal_1.svg.h"
@@ -25,6 +27,8 @@ StaticFile staticFiles[] = {
2527
{ "/lib.js", CONTENT_LIB_JS, sizeof(CONTENT_LIB_JS) - 1, _CONTENT_TYPE_JS },
2628
{ "/ohm.jpg", CONTENT_OHM_JPG, sizeof(CONTENT_OHM_JPG) - 1, _CONTENT_TYPE_JPEG },
2729
{ "/style.css", CONTENT_STYLE_CSS, sizeof(CONTENT_STYLE_CSS) - 1, _CONTENT_TYPE_CSS },
30+
{ "/term.html", CONTENT_TERM_HTML, sizeof(CONTENT_TERM_HTML) - 1, _CONTENT_TYPE_HTML },
31+
{ "/term.js", CONTENT_TERM_JS, sizeof(CONTENT_TERM_JS) - 1, _CONTENT_TYPE_JS },
2832
{ "/wifi_portal.html", CONTENT_WIFI_PORTAL_HTML, sizeof(CONTENT_WIFI_PORTAL_HTML) - 1, _CONTENT_TYPE_HTML },
2933
{ "/wifi_portal.js", CONTENT_WIFI_PORTAL_JS, sizeof(CONTENT_WIFI_PORTAL_JS) - 1, _CONTENT_TYPE_JS },
3034
{ "/wifi_signal_1.svg", CONTENT_WIFI_SIGNAL_1_SVG, sizeof(CONTENT_WIFI_SIGNAL_1_SVG) - 1, _CONTENT_TYPE_SVG },

0 commit comments

Comments
 (0)