-
Notifications
You must be signed in to change notification settings - Fork 1
/
data.h
50 lines (47 loc) · 1.86 KB
/
data.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
//---------------------------------WWW------------------------------
//ESP8266
//HTML \r\n \t
const String indexHTM="<!DOCTYPE html><html><head>\r\n"
"<meta charset=\"utf-8\"/>\r\n"
"<meta content=\"width=device-width,initial-scale=0.65,maximum-scale=2,user-scalable=yes\" name=\"viewport\" />\r\n"
"<link rel=\"shortcut icon\" href=\"favicon.ico\">\r\n"
"<link rel=\"STYLESHEET\" type=\"text/css\" href=\"style.css\">\r\n"
"<script type=\"text/javascript\" src=\"system.js\"></script>\r\n"
"</head><body>\r\n"
"<h1>$h1gtag</h1>\r\n"
"<div id=\"actions\"></div>\r\n"
"<div id=\"timersetting\"></div>\r\n"
"<div id=\"sysinfo\"></div>\r\n"
"<div id=\"filelist\">\r\n"
"$filelist"
"</div>\r\n"
"<form class=\"upload\" method=\"POST\" action=\"/upload\" enctype=\"multipart/form-data\">"
"<input type=\"file\" name=\"upload\" required>\r\n"
"<input type=\"submit\" value=\"Upload\" class=\"button\">\n</form>\r\n"
"</body></html>\r\n"
;
/*
const String indexHTM="<!DOCTYPE html><html><head>\r\n"
"<meta charset=\"utf-8\"/>\r\n"
"<link rel=\"shortcut icon\" href=\"favicon.ico\">\r\n"
"<link rel=\"STYLESHEET\" type=\"text/css\" href=\"style.css\">\r\n"
"<script type=\"text/javascript\" src=\"system.js\"></script>\r\n"
"</head><body>\r\n"
"<h1>$h1gtag</h1>\r\n"
"<p class=\"buttons\">\r\n"
"<a href=\"#\" data-OF='{\"action\":\"ON\"}'>ON</a>"
"<a href=\"#\" data-OF='{\"action\":\"OFF\"}'>OFF</a>"
"<a href=\"#\" data-OF='{\"action\":\"LEDON\"}'>Led:on</a>"
"<a href=\"#\" data-OF='{\"action\":\"LEDOFF\"}'>Led:off</a>"
"</p>\r\n"
"<div id=\"timersetting\"></div>\r\n"
"<div id=\"sysinfo\"></div>\r\n"
"<div id=\"filelist\">\r\n"
"$filelist"
"</div>\r\n"
"<form class=\"upload\" method=\"POST\" action=\"/upload\" enctype=\"multipart/form-data\">"
"<input type=\"file\" name=\"upload\" required>\r\n"
"<input type=\"submit\" value=\"Upload\" class=\"button\">\n</form>\r\n"
"</body></html>\r\n"
;
*/