index.html 3.6 KB

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