-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHTML.H
333 lines (303 loc) · 18.1 KB
/
HTML.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
const char SECURITY[] PROGMEM = R"=====(
var message = "viewing this page is disabled!";
//function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
//if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
//document.onmousedown = rtclickcheck;
)=====";
//<link rel="icon" type="image/x-icon" href="/favicon.ico" />
const char HTML_HEAD[] PROGMEM = R"=====(
<!DOCTYPE html><html><head><meta charset='utf-8'>
<title>ESP32-ECU</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/STYLESHEET">
<script type='text/javascript'>
function showSubmit() {
document.getElementById("sub").style.display = "block";
}
function submitFunction(a) {
document.getElementById('formulier').submit();
}
function cl() {
window.location.href='/MENU';
}
</script>
</head>
)=====";
//.bt{display:block; width:124px; height:44px; padding:6px; margin:6px; text-align:center; border-radius:6px; color:white; background:red;
// font-weight:bold; font-size:18px; text-decoration:none;}
//.red{ background:#b9b9c1;color:white;border:2px solid black;}
//.rad {background:#cc99ff;color:white; border:2px solid black;}
const char STYLESHEET[] PROGMEM = R"=====(
body { background: linear-gradient(#e8f5f7, #caf5fb); color:navy; font-family:'lato',Verdana,Sans-serif; font-size:16px; }
.divstijl { background: linear-gradient(#e8edc8, #c8eaed); padding:0px 0px 0px 0px; width: 50vw; height: 99%; }
kop { font-size: 24px; font-weight:bold; padding-top: 1vh; padding-bottom: 1vh;}
p {color: #006600; font-family: 'lato',Verdana,Sans-serif; font-size:14px; }
tr {height:45px;} ul { list-style-type: none; margin: 0 auto 0 auto; padding: 0; overflow: hidden; background-color: #333; border-radius:6px;width: 96vw; height: 48px;}
input { font-size:16px; } .inp1 { width:46px; } .inp2 { width:52px; } .inp3 { width:76px; } .inp4 { width:180px;} .inp5 { width:172px;}.inp6 { width:190px;}
option { direction: ltr;} .sb1 {font-size:16px; height:24px; }
input[type=checkbox] {width:30px; height:30px;}
.close:hover {color: green;}
/* new menu styling */
#msect { display: flex; flex-direction: column; flex-basis: 100%; align-items: center; margin: 0px 0px; width:96vw;}
#msect:before, #msect:after { content: ""; flex-grow: 1; margin: 0px 0px;}
#menu a:link, #menu2 a:link, #menu a:visited, #menu2 a:visited {
background-color: #333;
color: white;
border-radius: 6px;
text-align: center;
text-decoration: none; /* prevent the underline */
display: inline-block;
width: 58px;
line-height: 48px;
margin-right: 2px;
}
#menu a:hover, #menu2 a:hover { background-color: green; color: white;}
#menu { height:48px; width: 60vw; overflow: hidden; background-color: #333; border-radius:6px;}
.close { color: red !important; position: static; float:right; font-size: 42px; font-weight: bold; cursor: pointer;}
b { color: #eab3f2; margin-left: 4px; font-size:16px;}
#sub { float: left; }
.fright {float:right;}
@media only screen and (max-width: 800px) {
.divstijl {width:98vw;}
.close { font-size: 32px; width:20px; padding: 0px 10px;}
body { font-size:12px; }
#menu {width:98vw;}
input, .sb1 { font-size:16px; }
.sb1 {height:24px;}
}
)=====";
//<script type='text/javascript'>setTimeout(function(){ window.location.href='/SW=BACK';}, 3000 ); </script>
//const char CONFIRM[] PROGMEM = R"=====(
//<!DOCTYPE html><html><head><meta charset='utf-8'>
//<title>ESP-ECU</title>
//<meta name="viewport" content="width=device-width, initial-scale=1">
//<link rel="stylesheet" type="text/css" href="/STYLESHEET">
//</head>
//<body>
//<script type='text/javascript'>setTimeout(function(){
// window.location.href='/SW=BACK';}, 3000 ); </script>
//
//<center><kop>PROCESSING YOUR REQUEST...</kop>
//<br><br>
//<div class='divstijl'>
//Please wait while your request is being executed.<br><br>
//If applicable, the data is saved and a reboot follows.<br><br>
//Visit the log page or information page for more information<br><br>
//This page will close automatically when the command is executed.<br>
//
//<br><br>
//<br>You will then return to the homepage. Check if the settings are correct.</center></div>
//</body></html>
//)=====";
const char CONFIRM_IP[] PROGMEM = R"=====(
<!DOCTYPE html><html><head><meta charset='utf-8'>
<title>ESP-ECU</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/STYLESHEET">
</head>
<body style='font-size:16px;'>
<script type='text/javascript'>setTimeout(function(){ window.location.href='http://{adres0}/'; }, 6000 ); </script>
<center>
<h1>SAVE IP SETTINGS</h1><div class='lijnstijl'></div><br><br><div class='divstijl'>
The IP settings are saved. <br><br>
Your Esp device is going to reboot. <strong>Wait util the led has blinked 3 times!</strong><br><br>
</body></html>
)=====";
//const char CONFIRM_INV[] PROGMEM = R"=====(
//<!DOCTYPE html><html><head><meta charset='utf-8'>
//<title>ESP-ECU</title>
//<meta name="viewport" content="width=device-width, initial-scale=1">
//<link rel="stylesheet" type="text/css" href="/STYLESHEET">
//</head>
//<body style='font-size:16px;'>
//<script type='text/javascript'>setTimeout(function(){ window.location.href='/INV_CONFIG';}, 6000 ); </script>
//<center>
//<h1>PROCESSING THE INVERTER DATA...</h1><div class='lijnstijl'></div><br><br>
//<div class='divstijl'>
//The inverterdata are saved.<br><br>
//In a moment the device is going to reboot.<br><br>
//You will be redirected to the inverter config page.
//
//<br><br>
//</div>
//<br><br> <a href='/SW=BACK'><span class='close'>×</span></a></body></html>
//)=====";
const char WAIT_PAIR[] PROGMEM = R"=====(
<!DOCTYPE html><html><head><meta charset='utf-8'>
</head><body onload="loadScript()">
<center><br><br><h2>PAIRING INVERTER {#}</h2>
<br><br><br>
<div id="marq" style='margin: 50px; width: 40%; background:#e7f2bd;'>
<marquee><h3>pairing, do not interrupt .....</h3></marquee>
</div>
<div id="hiddenSucc" style="display:none"<br><br><br>
<h3>The pairing succeeded.
<br><br><br><a href="/LOGPAGE">click here</a></h3>
</div>
<div id="hiddenFail" style="display:none"<br><br><br>
<h3>The pairing failed.
<br><br><br><a href="/LOGPAGE">click here</a></h3>
</div>
<script>
function loadScript() {
getData();
loadData();
}
setInterval(function loadData() {
getData()
},9000);
function getData() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var antwoord = this.responseText;
var obj = JSON.parse(antwoord);
var invID = obj.invID;
if( invID != "1111" ) {
if( invID == "0000" ) {
document.getElementById("marq").style.display = "none";
document.getElementById("hiddenFail").style.display = "block";
setTimeout(function(){ window.location.href='/'; }, 5000 );
} else {
document.getElementById("marq").style.display = "none";
document.getElementById("hiddenSucc").style.display = "block";
setTimeout(function(){ window.location.href='/'; }, 5000 );
}
}
}
}
xhttp.open("GET", "get.Paired", true);
xhttp.send();
}
</script>
</body></html>
)=====";
const char REQUEST_DENIED[] PROGMEM = R"=====(
<!DOCTYPE html><html><head><meta charset='utf-8'>
<title>ESP-ECU</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/STYLESHEET_HOME">
</head>
<body style='font-size:16px;'>
<script type='text/javascript'>setTimeout(function(){ window.location.href='/';}, 9000 ); </script>
<center>
<h1>ACCESS DENIED!</h1><div class='lijnstijl'></div><br><br>
<div class='divstijl'>
For security reasons you are not allowed to visit this page from outside your own network !<br><br>
In seconds you will be redirected to the main page.
<br><br>
</div>
<br><br> <a href='/'><span class='close'>×</span></a></body></html>
)=====";
//// favicon dd 7-7-2023
//#define FAVICON_len 257
//const uint8_t FAVICON[] PROGMEM = {
//0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
//0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x08, 0x06, 0x00, 0x00, 0x00, 0x57, 0x02, 0xf9,
//0x87, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
//0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8f, 0x0b, 0xfc, 0x61, 0x05, 0x00, 0x00,
//0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0e, 0xc2, 0x00, 0x00, 0x0e, 0xc2, 0x01, 0x15,
//0x28, 0x4a, 0x80, 0x00, 0x00, 0x07, 0xce, 0x49, 0x44, 0x41, 0x54, 0x68, 0x43, 0xd5, 0x59, 0x5d,
//0x8c, 0x13, 0x55, 0x14, 0x3e, 0xd3, 0x76, 0xbb, 0x0b, 0xdb, 0xee, 0xae, 0xbb, 0xdb, 0x25, 0xc6,
//0xc5, 0x07, 0x59, 0x1e, 0x14, 0x1e, 0x8c, 0x0f, 0xf2, 0x93, 0xc8, 0x4f, 0x22, 0x90, 0x98, 0x40,
//0xa2, 0x80, 0x09, 0x66, 0x49, 0xd4, 0xa8, 0x11, 0x35, 0x6a, 0x34, 0x26, 0x10, 0x01, 0x57, 0x82,
//0x41, 0x44, 0x7e, 0x15, 0x88, 0xfc, 0x48, 0x62, 0x8c, 0x1a, 0x13, 0x1f, 0x34, 0xbe, 0x60, 0x8c,
//0x2c, 0x3c, 0x08, 0xf8, 0x60, 0x7c, 0x10, 0x7d, 0xe0, 0xe7, 0x81, 0x96, 0x04, 0xb6, 0xdb, 0x65,
//0x69, 0xbb, 0xbb, 0xb4, 0x9d, 0x76, 0x3c, 0xdf, 0xe9, 0xdc, 0xee, 0xb4, 0x3b, 0xd3, 0xce, 0x6c,
//0x17, 0x03, 0x5f, 0x32, 0x99, 0xe9, 0xdc, 0xb9, 0xe7, 0x9e, 0xef, 0x9c, 0x73, 0xcf, 0x3d, 0xf7,
//0x56, 0x33, 0x18, 0x74, 0x0f, 0xc3, 0x67, 0xde, 0xef, 0x59, 0x94, 0x11, 0x18, 0xd9, 0xb4, 0x85,
//0xf4, 0x0b, 0xff, 0x9a, 0xbf, 0xea, 0x07, 0x64, 0x41, 0xe6, 0x54, 0xc0, 0x51, 0x16, 0x42, 0x08,
//0x48, 0x6f, 0xdc, 0x62, 0x0c, 0x50, 0x93, 0x71, 0x83, 0x5f, 0xe9, 0xd1, 0x98, 0xf9, 0xb6, 0x3e,
//0x40, };//16 * 16 + 1 = 257
#define FAVICON_len 790
const uint8_t FAVICON[] PROGMEM = {
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x1F, 0xF3, 0xFF,
0x61, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xAE, 0xCE, 0x1C, 0xE9, 0x00, 0x00,
0x02, 0xD0, 0x49, 0x44, 0x41, 0x54, 0x38, 0x4F, 0x75, 0x93, 0x6B, 0x48, 0xD3, 0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
//const uint8_t FAVICON[] PROGMEM = {
//0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
//0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x08, 0x02, 0x00, 0x00, 0x00, 0xD8, 0x60, 0x6E,
//0xD0, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xAE, 0xCE, 0x1C, 0xE9, 0x00, 0x00,
//0x00, 0x04, 0x67, 0x41, 0x4D, 0x41, 0x00, 0x00, 0xB1, 0x8F, 0x0B, 0xFC, 0x61, 0x05, 0x00, 0x00,
//0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0E, 0xC3, 0x00, 0x00, 0x0E, 0xC3, 0x01, 0xC7,
//0x6F, 0xA8, 0x64, 0x00, 0x00, 0x01, 0xBF, 0x49, 0x44, 0x41, 0x54, 0x58, 0x47, 0xED, 0x94, 0x8B,
//0x6D, 0xC3, 0x30, 0x0C, 0x44, 0x33, 0x41, 0xF7, 0xEF, 0x48, 0x1D, 0x21, 0x2B, 0x64, 0x09, 0xF7,
//0xE2, 0x13, 0x2E, 0x34, 0xF5, 0xA3, 0x3F, 0x72, 0x02, 0xB7, 0x87, 0x87, 0x96, 0x21, 0x19, 0xE9,
//0x41, 0x05, 0x7A, 0xFB, 0xBE, 0x3F, 0x3E, 0x8A, 0x7F, 0xA1, 0x1E, 0x17, 0x12, 0xBA, 0xED, 0x8B,
//0x3B, 0x4D, 0xEC, 0x12, 0x9A, 0x7E, 0xBE, 0xB6, 0xB1, 0x42, 0x68, 0x9A, 0x26, 0xD7, 0xA9, 0x31,
//0x5C, 0x08, 0x2A, 0xB2, 0x89, 0x68, 0x6D, 0x16, 0x6A, 0xD8, 0x80, 0x34, 0xA3, 0x0D, 0xC2, 0x9A,
//0xCD, 0x06, 0x83, 0x9E, 0x07, 0x78, 0x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, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82
//};
////35*16 + 10 = 570