The esp8266 portion of the project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.5 KiB

  1. <!-- <!DOCTYPE html> -->
  2. <html>
  3. <head>
  4. <title>Settings</title>
  5. <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
  6. <link rel="icon" type="image/png" sizes="144x144" href="/favicon-144x144.png">
  7. <link rel="icon" type="image/png" sizes="48x48" href="/favicon.ico">
  8. <link rel="manifest" href="/manifest.json">
  9. <meta name="theme-color" content="#00878f">
  10. <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport'>
  11. <!-- <script src="include.js" type="text/javascript"></script> -->
  12. <meta charset="utf-8">
  13. <!-- <script src="jquery-3.4.1.min.js"></script> -->
  14. <link href='main.css' rel='stylesheet' type='text/css'>
  15. <!-- <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> -->
  16. </head>
  17. <body>
  18. <center><header><h1> Settings page </h1></header></center>
  19. <form action="/settings.html" method="POST">
  20. <center>
  21. <div class="shadow">
  22. <iframe src="menu.html" width="90%"></iframe>
  23. <div data-include="menu"></div>
  24. <table class="tbl" cellspacing="2" cellpadding = "2">
  25. <tr>
  26. <td>
  27. <label>Select Ballast:</label>
  28. </td>
  29. <td>
  30. <select id = "myList" name="ballast">
  31. <option value = "1">Ballast #1</option>
  32. <option value = "2">Ballast #2</option>
  33. <option value = "3">Ballast #3</option>
  34. </select>
  35. </td>
  36. </tr>
  37. <tr>
  38. <td>
  39. Enter start hour:</br>
  40. </td>
  41. <td>
  42. <input type="text" name="shour" placeholder="Hour" required></br>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td>
  47. Enter start minute:</br>
  48. </td>
  49. <td>
  50. <input type="text" name="smin" placeholder="Minute" required></br>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td>
  55. Enter amount of time to fade in(in mins)(cannot be decimal):</br>
  56. </td>
  57. <td>
  58. <input type="text" name="fadePeriod" placeholder="Fade Period" required></br>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td>
  63. Enter end hour:</br>
  64. </td>
  65. <td>
  66. <input type="text" name="ehour" placeholder="Hour" required></br>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td>
  71. Enter start minute:</br>
  72. </td>
  73. <td>
  74. <input type="text" name="emin" placeholder="Minute" required></br>
  75. <td>
  76. </tr>
  77. <tr align = "center">
  78. <td colspan="3">
  79. <p style="margin:8px 0px"><button class="button">Submit</button></p>
  80. </td>
  81. </tr>
  82. </table>
  83. </div>
  84. </center>
  85. </form>
  86. </body>
  87. </html>