update TODO
[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">
48b3a536 15 <li @click="display='players'">Participants</li>
7a00c409 16 <li @click="display='pairings'">Appariements</li>
2caa3889 17 <li @click="display='timer'">Chronomètre</li>
48b3a536 18 <li @click="display='ranking'">Classement</li>
7a00c409 19 </ul>
2caa3889 20 <img class="logo" src="img/logo_Westcastle.png"/>
7a00c409
BA
21 </header>
22 <main>
48bee368
BA
23 <my-players v-show="display=='players'" :players="players" :init-players="initPlayers"></my-players>
24 <my-pairings v-show="display=='pairings'" :players="players" :commit-scores="commitScores"></my-pairings>
2caa3889 25 <my-timer v-show="display=='timer'" @clockover="display='pairings'"></my-timer>
48bee368 26 <my-ranking v-show="display=='ranking'" :players="players" :sort-by-score="sortByScore" :commit-scores="commitScores"></my-ranking>
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>
48bee368 33 <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.13/vue.js"></script>-->
7a00c409
BA
34 <script src="js/index.js"></script>
35
36</html>