diff options
| author | Maks Jopek <maksymilian.jopek@prym-soft.pl> | 2021-04-10 01:06:09 +0200 |
|---|---|---|
| committer | Maks Jopek <maksymilian.jopek@prym-soft.pl> | 2021-04-10 01:06:09 +0200 |
| commit | dd66b8ad239d5ceae219746a702963645259b784 (patch) | |
| tree | 47462463911a018a31cd1ede3d8206fd96032b99 /public | |
| parent | d928eab3ecefbf778f1cadece9beac010dc42332 (diff) | |
| download | fia-dd66b8ad239d5ceae219746a702963645259b784.tar.gz fia-dd66b8ad239d5ceae219746a702963645259b784.tar.zst fia-dd66b8ad239d5ceae219746a702963645259b784.zip | |
Added joining rooms and logic to start game by votes
Diffstat (limited to 'public')
| -rw-r--r-- | public/index.html | 19 | ||||
| -rw-r--r-- | public/map.html | 65 |
2 files changed, 35 insertions, 49 deletions
diff --git a/public/index.html b/public/index.html index 8d35181..d7ea523 100644 --- a/public/index.html +++ b/public/index.html @@ -2,17 +2,20 @@ <html lang="en"> <head> - <meta charset="UTF-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Fia</title> - <link rel="stylesheet" href="css/bootstrap.min.css"> + <meta charset="UTF-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Fia</title> + <link rel="stylesheet" href="css/bootstrap.min.css"> </head> <body class="bg-dark text-white"> - - <noscript><div class="container text-center h1" style="margin-top: 45vh;">Tyvärr, men för att spela Fia måste du aktivera skript</div></noscript> - <script src="js/login.js" type="module"></script> + <noscript> + <div class="container text-center h1" style="margin-top: 45vh;"> + Tyvärr, men för att spela Fia måste du aktivera skript + </div> + </noscript> + <script src="js/frontend/ts/login.js" type="module"></script> </body> </html>
\ No newline at end of file diff --git a/public/map.html b/public/map.html index d38a015..c23ccfd 100644 --- a/public/map.html +++ b/public/map.html @@ -1,43 +1,26 @@ <div class="container"> - <table class="table table-dark table-sm"> - <tbody> - <tr> - <td class="bg-primary rounded-pill text-center"> - {{ player.name }} - </td> - <td></td> - <td class="bg-danger rounded-pill text-center"> - {{ player.name }} - </td> - <td></td> - <td class="bg-success rounded-pill text-center"> - {{ player.name }} - </td> - <td></td> - <td class="bg-warning rounded-pill text-center"> - {{ player.name }} - </td> - <td></td> - <td class="text-center rounded-pill"> - <div class="form-check form-switch text-center"> - <input - class="form-check-input" - type="checkbox" - id="flexSwitchCheckDefault" - /> - <label class="form-check-label" for="flexSwitchCheckDefault"> - Jag är redo - </label> - </div> - </td> - </tr> - </tbody> - </table> - <div class="container-flex text-center"> - <canvas id="map" width="600" height="600" class="border border-danger"> - Din webbläsare stöder inte canvas, vilket betyder att du inte kan spela - fia</canvas - > - </div> + <table class="table table-dark table-sm"> + <tbody> + <tr> + <td class="bg-primary player-name rounded-pill text-center"></td> + <td></td> + <td class="bg-danger player-name rounded-pill text-center"></td> + <td></td> + <td class="bg-success player-name rounded-pill text-center"></td> + <td></td> + <td class="bg-warning player-name rounded-pill text-center"></td> + <td></td> + <td class="text-center rounded-pill"> + <input class="form-check-input" type="checkbox" /> + <label>Jag är redo</label> + </td> + </tr> + </tbody> + </table> + <div class="container-flex text-center"> + <canvas id="map" width="600" height="600" class="border border-danger"> + Din webbläsare stöder inte canvas, vilket betyder att du inte kan spela + fia + </canvas> </div> -
\ No newline at end of file +</div> |
