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.

87 lines
3.8 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. <div class="row" style="margin-top:20%;">
  16. <div class="col-lg-4"></div>
  17. <div class="col-lg-4">
  18. <h3>gogame</h3>
  19. <div class="card">
  20. <ul class="nav nav-tabs" id="myTab" role="tablist">
  21. <li class="nav-item">
  22. <a class="nav-link active" id="login-tab" data-toggle="tab" href="#login" role="tab" aria-controls="login" aria-selected="true">Login</a>
  23. </li>
  24. <li class="nav-item">
  25. <a class="nav-link" id="register-tab" data-toggle="tab" href="#register" role="tab" aria-controls="register" aria-selected="false">Register</a>
  26. </li>
  27. </ul>
  28. <div class="card-body">
  29. <div class="tab-content" id="myTabContent">
  30. <div class="tab-pane fade show active" id="login" role="tabpanel" aria-labelledby="login-tab">
  31. <h5 class="card-title">Login</h5>
  32. <hr>
  33. <p class="card-text">
  34. <label for="exampleInputEmail1">Email address</label>
  35. <input type="email" class="form-control" id="loginEmail" placeholder="Enter email">
  36. <br>
  37. <label for="exampleInputPassword1">Password</label>
  38. <input type="password" class="form-control" id="loginPassword" placeholder="Password">
  39. <div onclick="login()" class="btn btn-primary float-right">Login</div>
  40. </p>
  41. </div>
  42. <div class="tab-pane fade" id="register" role="tabpanel" aria-labelledby="register-tab">
  43. <h5 class="card-title">Register</h5>
  44. <hr>
  45. <p class="card-text">
  46. <label for="email">Email address</label>
  47. <input type="email" class="form-control" id="registerEmail" placeholder="Enter email">
  48. <br>
  49. <label for="name">Name</label>
  50. <input type="text" class="form-control" id="registerName" placeholder="Name">
  51. <br>
  52. <label for="password">Password</label>
  53. <input type="password" class="form-control" id="registerPassword" placeholder="Password">
  54. <div onclick="register()" class="btn btn-primary float-right">Register</div>
  55. </p>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <!-- Optional JavaScript -->
  64. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  65. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  66. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  67. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  68. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  69. <script src="constants.js"></script>
  70. <script src="index.js"></script>
  71. </body>
  72. </html>