Advertisement
joserob

WEB SERVER

Apr 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4.  
  5. <head>
  6. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/>
  7. <title>ESP8266 Web Server</title>
  8.  
  9. <style>
  10. .c
  11. {
  12. text-align: center;
  13. }
  14.  
  15. div,input
  16. {
  17. padding:5px;font-size:1em;
  18. }
  19.  
  20. input
  21. {
  22. width:60%;
  23. }
  24.  
  25. body
  26. {
  27. text-align:center;
  28. font-family:verdana;
  29. }
  30.  
  31. button
  32. {
  33. border:0;
  34. border-radius:0.3rem;
  35. background-color:#1fa3ec;
  36. color:#fff;
  37. line-height:2.4rem;
  38. font-size:1.2rem;
  39. width:60%;
  40. }
  41.  
  42. .q
  43. {
  44. float:right;
  45. width:64px;
  46. text-align:right;
  47. }
  48. </style>
  49.  
  50. </head>
  51.  
  52. <body>
  53. <form action="/action_page.php">
  54. SSID: <input type="text" name="ssid" placeholder=""><br>
  55. PASS: <input type="text" name="pass" placeholder=""><br>
  56. <input type="submit" value="Connect">
  57. </form>
  58. <h3>Web Server</h3>
  59. <p>GPIO4<br><a href=\"?function=led4_on\"><button>ON</button></a> <a href=\"?function=led4_off\"><button>OFF</button></a></p>
  60. <p>GPIO5<br><a href=\"?function=led5_on\"><button>ON</button></a> <a href=\"?function=led5_off\"><button>OFF</button></a></p>
  61. </body>
  62. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement