index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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="loader">
  63. <template name="progress-bar"></template>
  64. <span class="label"></span>
  65. </div>
  66. <div id="ready">
  67. <div class="status"></div>
  68. <div class="message"></div>
  69. </div>
  70. </template>
  71. <template id="song-info-template">
  72. <div class="song-info">
  73. <div class="genre"></div>
  74. <div class="creator"></div>
  75. <div class="title"></div>
  76. </div>
  77. </template>
  78. <template id="song-item-template">
  79. <div class="song-item">
  80. <div class="difficulty-bg normal"></div>
  81. <div class="difficulty-bg"></div>
  82. <div class="difficulty"></div>
  83. <div class="creator"></div>
  84. <div class="title"></div>
  85. </div>
  86. </template>
  87. <template id="progress-bar-template">
  88. <div class="progress-bar">
  89. <div class="bg"></div>
  90. <div class="shade"></div>
  91. </div>
  92. </template>
  93. <script type="text/javascript" src="bundle.js"></script>
  94. <script type="text/javascript">
  95. util.loadBase();
  96. new game.MainController(
  97. document.querySelector('#container'),
  98. 'levels.json'
  99. ).start();
  100. </script>
  101. </body>
  102. </html>