popup.html 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!doctype html>
  2. <!--
  3. This page is shown when the extension button is clicked, because the
  4. "browser_action" field in manifest.json contains the "default_popup" key with
  5. value "popup.html".
  6. -->
  7. <html>
  8. <head>
  9. <title>Guacamoly</title>
  10. <link rel="stylesheet" href="popup.css">
  11. <script src="popup.js"></script>
  12. </head>
  13. <body>
  14. <div id="main" class="hide">
  15. <textarea id="content"></textarea>
  16. <br/>
  17. <button id="actionAdd">Add</button>
  18. </div>
  19. <div id="setup" class="hide">
  20. <p>Please visit your Guacamoly app</p>
  21. </div>
  22. <div id="home" class="hide">
  23. <center>
  24. <p>Connected with this Guacamoly app.</p>
  25. <br/>
  26. <button id="disconnectButton">Disconnect</button>
  27. </center>
  28. </div>
  29. <div id="done" class="hide">
  30. <p>Successfully added</p>
  31. </div>
  32. <div id="disconnected" class="hide">
  33. <p>Now disconnected with this Guacamoly app.</p>
  34. </div>
  35. <div id="busy" class="hide">
  36. <center><i class="spinner"></i></center>
  37. </div>
  38. </body>
  39. </html>