Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/>
- <title>ESP8266 Web Server</title>
- <style>
- .c
- {
- text-align: center;
- }
- div,input
- {
- padding:5px;font-size:1em;
- }
- input
- {
- width:60%;
- }
- body
- {
- text-align:center;
- font-family:verdana;
- }
- button
- {
- border:0;
- border-radius:0.3rem;
- background-color:#1fa3ec;
- color:#fff;
- line-height:2.4rem;
- font-size:1.2rem;
- width:60%;
- }
- .q
- {
- float:right;
- width:64px;
- text-align:right;
- }
- </style>
- </head>
- <body>
- <form action="/action_page.php">
- SSID: <input type="text" name="ssid" placeholder=""><br>
- PASS: <input type="text" name="pass" placeholder=""><br>
- <input type="submit" value="Connect">
- </form>
- <h3>Web Server</h3>
- <p>GPIO4<br><a href=\"?function=led4_on\"><button>ON</button></a> <a href=\"?function=led4_off\"><button>OFF</button></a></p>
- <p>GPIO5<br><a href=\"?function=led5_on\"><button>ON</button></a> <a href=\"?function=led5_off\"><button>OFF</button></a></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement