-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfailed_html.h
34 lines (33 loc) · 895 Bytes
/
failed_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
/*
* This ESP32 code is created by esp32io.com
*
* This ESP32 code is released in the public domain
*
* For more detail (instruction and wiring diagram), visit https://esp32io.com/tutorials/esp32-web-server-multiple-pages
*/
const char failed_html[] PROGMEM = R"rawliteral(
<!DOCTYPE HTML>
<html>
<head>
<title>Update unsuccessful</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
background-color: #f7f7f7;
font-size: 16px;
font-family: sans-serif;
}
#spacer_30 {
height: 30px;
}
</style>
</head>
<body>
<center>
<h2>The update has failed.</h2>
<div id="spacer_30"></div>
<button onclick="window.location.href='/';">to homepage</button>
</center>
</body>
</html> )rawliteral";