add basic timer + logo. still restore bug
[westcastle.git] / index.html
CommitLineData
7a00c409
BA
1<DOCTYPE !html>
2<html>
3
4 <head>
5 <meta charset="utf-8">
6 <title>Mahjong pairings</title>
7 <link rel="stylesheet" href="vendor/normalize.css">
8 <link rel="stylesheet" href="css/index.css">
9 </head>
10
11 <body>
12 <div id="mahjong">
13 <header>
14 <ul class="sidenav">
15 <li @click="display='players'">Joueurs</li>
16 <li @click="display='ranking'">Classement</li>
17 <li @click="display='pairings'">Appariements</li>
2caa3889 18 <li @click="display='timer'">Chronomètre</li>
7a00c409 19 </ul>
2caa3889 20 <img class="logo" src="img/logo_Westcastle.png"/>
7a00c409
BA
21 </header>
22 <main>
23 <my-players v-show="display=='players'" :players="players"></my-players>
1369a09d
BA
24 <my-ranking v-show="display=='ranking'" :players="players" :sort-by-score="sortByScore" :write-score-to-db="writeScoreToDb"></my-ranking>
25 <my-pairings v-show="display=='pairings'" :players="players" :write-score-to-db="writeScoreToDb"></my-pairings>
2caa3889 26 <my-timer v-show="display=='timer'" @clockover="display='pairings'"></my-timer>
7a00c409
BA
27 </main>
28 </div>
29 </body>
30
31 <script src="vendor/underscore-min.js"></script>
32 <script src="vendor/vue.min.js"></script>
33 <script src="js/index.js"></script>
34
35</html>