-
Notifications
You must be signed in to change notification settings - Fork 24
/
HTML.H
363 lines (334 loc) · 18.2 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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
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>ESP-ECU</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/STYLESHEET_HOME">
<link rel="stylesheet" type="text/css" href="/STYLESHEET_SUBS">
<script type='text/javascript'>
function showSubmit() {
document.getElementById("sub").style.display = "block";
}
function submitFunction(a) {
document.getElementById("bo").innerHTML="<br>wait...<br>processing<br>your<br>request";
document.getElementById("bo").style.display="block";
document.getElementById('formulier').submit();
setTimeout(function(){window.location.href=a;}, 3000 );
}
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_HOME[] PROGMEM = R"=====(
#sectie li{float:none;}
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: 96%; height: 99%; }
#msect { display: flex; flex-basis: 100%; align-items: center; margin: 0px 0px; width:96vw;}
#msect:before, #msect:after { content: ""; flex-grow: 1; margin: 0px 0px;}
kop { font-size: 4vw; 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;}
li { float: left;} li a:hover { background-color: #ff0808 !important;} a:focus {background-color: red;} th { width:44px; }
li a { display: inline-block; color: white; text-align: center; padding: 14px 6px 10px; text-decoration: none; width:70px; font-size:20px;}
.close {color: red; font-size: 42px; font-weight: bold; cursor: pointer; width:70px; padding: 0px 20px;}.close:hover {color: green;} #fright {float:right;}
@media only screen and (max-width: 800px) { li a { font-size:16px; padding: 14px 26px 10px 12px; width: 50px; }}
)=====";
const char STYLESHEET_SUBS[] PROGMEM = R"=====(
body { background: linear-gradient(#e8f5f7, #caf5fb); color:navy; font-family:'lato',Verdana,Sans-serif; font-size:16px; }
kop { font-size: 4vw; font-weight:bold; padding-top: 1vh; padding-bottom: 1vh;}
input { font-size:24px; } .inp1 { width:46px; } .inp2 { width:62px; } .inp3 { width:76px; } .inp4 { width:180px;} .inp5 { width:172px;}.inp6 { width:230px;}
option { direction: ltr;} .sb1 {font-size:22px; height:30px; }
#bo {width:100%; height:100%; position: absolute; left:0; top:0; background-color:rgba(192,192,192,0.9); color:white; z-index:10; font-size: 90px;
font-weight: bold; text-align: center; display: none;} #sub { float: left; background:green; display:none }
b {color: #;font-size:18px;font-weight:bold;} .close {color: red; font-size: 42px; font-weight: bold; cursor: pointer; width:70px; padding: 0px 20px;
}.close:hover {color: green;} input[type=checkbox] {width:30px; height:30px;} #fright {float:right;}
)=====";
//<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_HOME">
</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_HOME">
</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_HOME">
</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 UPDATE_FORM[] PROGMEM = R"=====(
<!DOCTYPE html><html><head><meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="/STYLESHEET_HOME">
<style>
input {
font-size:3vw;
}
</style>
<script>
function showDiv() {
document.getElementById('main').style.background="#b3ffd9";
document.getElementById('hiddendiv').innerHTML="<marquee><kop>updating firmware, do not interrupt .....</kop></marquee>";
}
</script></head>
<body><div id='main'>
<center><kop> HANSIART FIRMWARE UPDATER</kop>
<br><br><br><table><tr><td>
<form method='POST' action='/handleFwupdate' enctype='multipart/form-data' onsubmit='showDiv()'>
<input id='inP' type='file' name='update' pattern='\S+' title='cannot be empty' required>
<tr><td><br><tr><td><input type='submit' value='update'></form>
<tr><td><br><tr><td><a href='/SW=BACK'><input type='submit' value='cancel'></table><br>
<div id='hiddendiv' style='margin: 50px; width: 40%; background:#e7f2bd;'></div><br><br>
</div></center></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>
)=====";
//#define FAVICON_len 318
//const uint8_t FAVICON[] PROGMEM = {
//0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x10, 0x10, 0x10, 0x00, 0x01, 0x00, 0x04, 0x00, 0x28, 0x01,
//0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x20, 0x00,
//0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2E, 0xDB,
//0xD6, 0x00, 0xD1, 0x0F, 0x18, 0x00, 0xB4, 0xDD, 0xDE, 0x00, 0x66, 0xE1, 0xE3, 0x00, 0xD3, 0xE6,
//0xE5, 0x00, 0x81, 0xE1, 0xE3, 0x00, 0x9A, 0xDA, 0xDB, 0x00, 0x75, 0xDF, 0xE0, 0x00, 0xB5, 0x14,
//0x9D, 0x00, 0xB6, 0xE3, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 0x44,
//0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x49, 0x91, 0x99, 0x91, 0x19, 0x99, 0x19, 0x94, 0x49, 0x21,
//0x22, 0x12, 0x21, 0x22, 0x12, 0x94, 0x49, 0x21, 0x66, 0x16, 0x61, 0x66, 0x12, 0x94, 0x49, 0x21,
//0x55, 0x15, 0x51, 0x55, 0x12, 0x94, 0x49, 0x21, 0x57, 0x71, 0x17, 0x71, 0x11, 0x94, 0x49, 0x26,
//0x50, 0x00, 0x00, 0x75, 0x62, 0x94, 0x49, 0x26, 0x57, 0x33, 0x30, 0x75, 0x62, 0x94, 0x48, 0x86,
//0x58, 0x83, 0x80, 0x75, 0x62, 0x84, 0x48, 0x86, 0x58, 0x80, 0x88, 0x75, 0x68, 0x84, 0x48, 0x86,
//0x58, 0x87, 0x88, 0x88, 0x88, 0x84, 0x48, 0x88, 0x88, 0x85, 0x58, 0x85, 0x88, 0x94, 0x48, 0x86,
//0x68, 0x86, 0x66, 0x82, 0x82, 0x94, 0x48, 0x82, 0x28, 0x82, 0x22, 0x88, 0x82, 0x94, 0x48, 0x89,
//0x98, 0x89, 0x99, 0x98, 0x99, 0x94, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//};
//20 row2 * 16 -/- 2 = 318
//#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, 0x61, 0x14, 0xC6,
//0x7F, 0xEF, 0xD6, 0x34, 0xB7, 0xB5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, 0x0E, 0xBE, 0x44, 0x0B, 0xF6, 0xA5, 0xCB, 0x23,
//0xB6, 0xB2, 0x77, 0x8C, 0x28, 0x0A, 0xA1, 0xD5, 0xD5, 0x39, 0x9D, 0xFF, 0x96, 0xE7, 0xD9, 0x23,
//0xA2, 0xDB, 0xDB, 0xA9, 0xCA, 0xDF, 0xCE, 0xB4, 0xE3, 0x47, 0x28, 0x3F, 0x76, 0x8A, 0x59, 0x3B,
//0xB7, 0x52, 0x9B, 0xB7, 0x99, 0x1F, 0x93, 0xD2, 0xFA, 0x4B, 0x98, 0x7C, 0xE5, 0x12, 0x41, 0x9D,
//0x8E, 0xFA, 0x95, 0xAB, 0x49, 0xBD, 0x5D, 0x4A, 0xD3, 0xBC, 0x85, 0x64, 0x16, 0x1D, 0xA2, 0xEC,
//0xF8, 0x59, 0x92, 0xEE, 0xDF, 0xA3, 0x35, 0x23, 0x93, 0x60, 0x8C, 0x8E, 0xF4, 0x8B, 0x67, 0x69,
//0xB5, 0x66, 0xD0, 0x34, 0x7F, 0x51, 0x9F, 0x84, 0xB8, 0x0F, 0x35, 0x24, 0x3E, 0x7F, 0x82, 0x6D,
//0xED, 0x06, 0x7A, 0xB4, 0xFF, 0xE6, 0x3B, 0xA4, 0xC1, 0x8E, 0xE5, 0xE9, 0x63, 0x6C, 0xEB, 0x36,
//0x46, 0xB6, 0x2C, 0xCB, 0x4C, 0xBC, 0x76, 0x05, 0x7D, 0x53, 0x23, 0xD5, 0xF9, 0xDB, 0x22, 0xA7,
//0xF0, 0x3F, 0x53, 0xF7, 0xCD, 0xC1, 0xF0, 0xCA, 0xD7, 0xD8, 0x97, 0xAD, 0x18, 0xF0, 0x2B, 0x87,
//0x80, 0xBF, 0x57, 0x60, 0x31, 0x2E, 0xFE, 0xFF, 0xDC, 0x94, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45,
//0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82
//}; // 50 *16 -/- 10 = 790
//<table><tr><button onClick='window.location.reload();' style='width: 100px' value='0'>Refresh</button></table>
//<link rel="icon" type="image/x-icon" href="/favicon.ico"/>
const char LOGPAGE [] PROGMEM = R"=====(
<!DOCTYPE html><html><head><meta charset='utf-8'>
<title>ESP-ECU</title>
<meta http-equiv="refresh" content="60">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/STYLESHEET_HOME">
<style>
#lijst {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 380px;
font-size:14px;
border: 1px solid;
text-align: left;
}
#lijst td {
padding-left: 10px;
border: 1px solid;
}
#lijst tr:nth-child(even){background-color: #f2f2f2;
border: 1px solid #ddd;
padding: 6px;
}
#lijst th {
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
text-align: left;
background-color: #4CAF50;
color: white;
}
.th1 { width:30%%; }
.th2 { width:20%%; }
.th3 { width:50%%; }
tr {height:20px;}
@media only screen and (max-width: 600px) {
#lijst{ font-size:12px; width: 320px;}
tr {width:94vw;}
.th1 { width:25%%; }
.th2 { width:15%%; }
}
</style>
<script type="text/javascript" src="SECURITY"></script>
<script>function cl() {window.location.href='/MENU';}</script>
</head>
<body><center>
<ul><li id='fright'><span class='close' onclick='cl();'>×</span></li></ul>
<kop>ESP-ECU JOURNAL</kop>
<div class='divstijl'>
<br>
<table id='lijst'><tr><th class='th1'>Time</th><th class='th2'>Type</th><th class='th3'>Description</th></tr>
%rows%
</table></center></div></body></html>
)=====";