Some example HTML file.

This commit is contained in:
Marcos Kirsch 2015-02-08 22:06:50 -06:00
parent 1ff3867733
commit a8d408f375
3 changed files with 28 additions and 0 deletions

1
http/404.html Normal file
View File

@ -0,0 +1 @@
<html><head><title>404 - Not Found</title></head><body><h1>404 - Not Found</h1></body></html>

17
http/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Served by an ESP8266</title>
</head>
<body>
<h1>Hello World!</h1>
<div>
<section>
<h3>nodemcu-httpserver</h3>
<p>This page is served by nodemcu-httpserver running on an ESP8266. One of the smallest web servers ...ever!</p>
<h3>Where's the source code?</h3>
<p><a href="https://github.com/marcoskirsch/nodemcu-httpserver">Right here</a></p>
</body>
</html>

10
http/remote.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><title>Garage</title></head>
<body bgcolor="#999999">
<h1>Garage</h1>
<form action="" method="POST">
<input style="width:40%" name="door" type="submit" value="0">
<input style="width:40%;line-height:80%" name="door" type="submit" value="1">
</form>
</body>
</html>