trigger.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta name="generator" content=
  5. "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
  6. <link rel="stylesheet" href="style.css" type="text/css">
  7. <title>Hackerspace trigger</title>
  8. <link rel="shortcut icon"
  9. href="favicon.ico" />
  10. </head>
  11. <body onload="onPageLoad()">
  12. <h1>Trigger hackerspace status</h1>
  13. <div class='central-block'>
  14. <div id="loading-block" style="visibility:hidden;">
  15. Loading ...
  16. </div>
  17. <div id="open-block" style="visibility:hidden;">
  18. <form name="hoursform" id="hoursform">
  19. <label for="hours">Hours : </label>
  20. <div class="plusminux" onclick="changeHour(0)">-</div>
  21. <input id="hours" name="hours" size="2" class="text-input" maxlength=
  22. "2" onkeyup="checkHours(this)" value="1">
  23. <div class="plusminux" onclick="changeHour(1)">+</div>
  24. <input type="button" onclick="openSpace()" value="Open"
  25. class="button" id="openbutton" disabled>
  26. </form>
  27. </div>
  28. <div id="close-block" style="visibility:hidden;">
  29. <form>
  30. <input type="button" onclick="closeSpace()" value="Close"
  31. class="button">
  32. </form>The space is still open for :
  33. <div class="numbers">
  34. <span class="number" id="first-hour">2</span> <span class=
  35. "number" id="second-hour">2</span> <span class="number" id=
  36. "separator">:</span> <span class="number" id=
  37. "first-minute">2</span> <span class="number" id=
  38. "second-minute">2</span>
  39. </div>
  40. </div>
  41. <div id="msg-block"></div>
  42. </div>
  43. <script type="text/javascript" src="main.js"></script>
  44. <script type="text/javascript" src="json_sans_eval.js"></script>
  45. <script type="text/javascript" src="http://konami-js.googlecode.com/svn/trunk/konami.js"></script>
  46. <script type="text/javascript">
  47. konami = new Konami()
  48. konami.load("http://www.youtube.com/v/YB8ms088BTw&rel=0&border=0&autoplay=1");
  49. document.getElementById("loading-block").style.visibility = "visible";
  50. </script>
  51. </body>
  52. </html>