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