You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.1 KiB

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- Bootstrap CSS -->
  8. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
  9. <link rel="stylesheet" href="css/style.css">
  10. <link rel="stylesheet" href="css/dark-theme.css">
  11. <title>gogame</title>
  12. </head>
  13. <body class="dark-theme">
  14. <div class="container">
  15. <h3>Dashboard</h3>
  16. User Name: <span id="name"></span>
  17. <br><br>
  18. <table class="resourcesTable">
  19. <thead>
  20. <tr>
  21. <th scope="col">Metal</th>
  22. <th scope="col">Crystal</th>
  23. <th scope="col">Detuerium</th>
  24. <th scope="col">Energy</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. <tr>
  29. <td id="metal"></td>
  30. <td id="crystal"></td>
  31. <td id="deuterium"></td>
  32. <td id="energy"></td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. <br><br><br><br><br>
  37. <div onclick="logout()" class="btn btn-primary">Logout</div>
  38. </div>
  39. </div>
  40. </div>
  41. <!-- Optional JavaScript -->
  42. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  43. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  44. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  45. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  46. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  47. <script src="constants.js"></script>
  48. <script src="dashboard.js"></script>
  49. </body>
  50. </html>