garage_door.html 945 B

123456789101112131415161718192021222324252627282930313233
  1. <html>
  2. <head>
  3. <title>Garage control</title>
  4. </head>
  5. <body>
  6. <div align="center">
  7. <h2>Door 1</h2>
  8. <form action="garage_door.lua" method="post"/>
  9. <input type="hidden" name="door" value="1"/>
  10. <input type="submit" name="action" value="status"/>
  11. <input type="submit" name="action" value="open"/>
  12. <input type="submit" name="action" value="close"/>
  13. <input type="submit" name="action" value="toggle"/>
  14. </form>
  15. <h2>Door 2</h2>
  16. <form action="garage_door.lua" method="post"/>
  17. <input type="hidden" name="door" value="2"/>
  18. <input type="submit" name="action" value="status"/>
  19. <input type="submit" name="action" value="open"/>
  20. <input type="submit" name="action" value="close"/>
  21. <input type="submit" name="action" value="toggle"/>
  22. </form>
  23. </div>
  24. </body>
  25. </html>