index.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <html>
  2. <head>
  3. <title>Typing Freaks</title>
  4. <meta charset="utf-8" />
  5. <link rel="stylesheet" href="style.css" />
  6. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
  7. </head>
  8. <body>
  9. <div id="container" class="loading">
  10. <div id="background">
  11. <div id="video"></div>
  12. </div>
  13. <div id="loading">Loading...</div>
  14. <template id="base-template">
  15. <div id="folder-info">
  16. <i class="left material-icons">chevron_left</i>
  17. <i class="material-icons">album</i>
  18. <i class="right material-icons">chevron_right</i>
  19. <span class="label"></span>
  20. </div>
  21. <div id="song-info">
  22. <div class="song-info">
  23. <div class="genre"></div>
  24. <div class="creator"></div>
  25. <div class="title"></div>
  26. <div class="link"></div>
  27. </div>
  28. </div>
  29. <div id="song-list"></div>
  30. <div id="game">
  31. <div class="track-progress">
  32. <span class="total-label">Total Time</span>
  33. <span class="interval-label">Interval</span>
  34. <template class="total" name="progress-bar"></template>
  35. <template class="interval" name="progress-bar"></template>
  36. </div>
  37. <div class="score-line">
  38. <span class="combo"></span>
  39. <div class="pair">
  40. <span class="label">Score</span>
  41. <span class="value score"></span>
  42. </div>
  43. <div class="pair">
  44. <span class="label">Max Combo</span>
  45. <span class="value max-combo"></span>
  46. </div>
  47. <div class="pair">
  48. <span class="label">Finished</span>
  49. <span class="value finished"></span>
  50. </div>
  51. </div>
  52. <div class="kana-line"></div>
  53. <div class="kanji-line"></div>
  54. <div class="romaji-first"></div>
  55. <div class="romaji-line"></div>
  56. <div class="stats-line">
  57. <div class="pair">
  58. <span class="label">Hit</span>
  59. <span class="value hit"></span>
  60. </div>
  61. <div class="pair">
  62. <span class="label">Missed</span>
  63. <span class="value missed"></span>
  64. </div>
  65. <div class="pair">
  66. <span class="label">Skipped</span>
  67. <span class="value skipped"></span>
  68. </div>
  69. </div>
  70. </div>
  71. <div id="score">
  72. <span>Score</span><div class="score"></div>
  73. <span>Max Combo</span><div class="max-combo"></div>
  74. <span>Finished</span><div class="finished"></div>
  75. <span>Hit</span><div class="hit"></div>
  76. <span>Missed</span><div class="missed"></div>
  77. <span>Skipped</span><div class="skipped"></div>
  78. </div>
  79. <div id="loader">
  80. <template name="progress-bar"></template>
  81. <span class="label"></span>
  82. </div>
  83. <div id="ready">
  84. <div class="status"></div>
  85. <div class="message"></div>
  86. </div>
  87. <template id="song-item-template">
  88. <div class="song-item">
  89. <div class="difficulty-bg normal"></div>
  90. <div class="difficulty-bg"></div>
  91. <div class="difficulty"></div>
  92. <div class="creator"></div>
  93. <div class="title"></div>
  94. </div>
  95. </template>
  96. <template id="progress-bar-template">
  97. <div class="progress-bar">
  98. <div class="bg"></div>
  99. <div class="shade"></div>
  100. </div>
  101. </template>
  102. </template>
  103. </div>
  104. <script type="text/javascript" src="bundle.js"></script>
  105. <script type="text/javascript">
  106. new game.MainController(
  107. document.querySelector('#container'),
  108. 'levels.json'
  109. ).start();
  110. </script>
  111. </body>
  112. </html>