index.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="format-detection" content="telephone=no" />
  6. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, target-densitydpi=device-dpi" />
  7. <link rel="stylesheet" type="text/css" href="css/index.css" />
  8. <title>RFduino LED Button</title>
  9. </head>
  10. <body>
  11. <div class="app">
  12. <h1>RFduino LED Button</h1>
  13. <div id="mainPage">
  14. <ul id="deviceList">
  15. </ul>
  16. <button id="refreshButton">Refresh</button>
  17. </div>
  18. <div id="detailPage">
  19. <div id="buttonState">Button Released</div>
  20. <div id="ledButton">Hold for LED</div>
  21. <button id="disconnectButton">Disconnect</button>
  22. </div>
  23. </div>
  24. <script type="text/javascript" src="cordova.js"></script>
  25. <script type="text/javascript" src="js/index.js"></script>
  26. <script type="text/javascript">
  27. app.initialize();
  28. </script>
  29. </body>
  30. </html>