index.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Jicnic - Jlan your next picnic!</title>
  8. <link rel="stylesheet" href="/styles/styles.css" />
  9. <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
  10. <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
  11. <script defer src="/js/api_calls.js"></script>
  12. <script defer src="/js/frontend.js"></script>
  13. </head>
  14. <body>
  15. <header>
  16. <div class="headerleft">
  17. <a href="/" class="logo">
  18. <span class="logo">Jicnic</span>
  19. </a>
  20. </div>
  21. <div class="headermiddle"></div>
  22. <div class="headerright">
  23. <form class="authform">
  24. <div class="forloggedin">
  25. <span>Logged in as </span><span class="username">user</span>
  26. <button data-auth-action="logout" class="logout">Log Out</button>
  27. </div>
  28. <div class="forloggedout">
  29. <label for="headerusername">username:</label>
  30. <input id="headerusername" name="username" />
  31. <label for="headerpassword">password:</label>
  32. <input id="headerpassword" name="password" input type="password" />
  33. <button data-auth-action="signup" class="signup">Sign Up</button>
  34. <button data-auth-action="login" class="login">Log In</button>
  35. </div>
  36. <div class="error-message" style="color: rgb(80, 48, 48)"></div>
  37. </form>
  38. </div>
  39. </header>
  40. <main>
  41. <section class="refresh">
  42. <button id="refreshVotes">🔄</button>
  43. </section>
  44. <section class="refresh">
  45. <div style="color: rgb(0, 48, 48)">
  46. <span class="ws">test</span>
  47. </div>
  48. </section>
  49. <section class="days-view"></section>
  50. </main>
  51. </body>
  52. </html>