password.ejs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta content="width=device-width, initial-scale=1" name="viewport"/>
  6. <title>The Subline</title>
  7. <link rel="icon" type="img/png" href="/shared/images/logo.png">
  8. <link rel="stylesheet" href="/shared/shared.css">
  9. <link rel="stylesheet" href="/passwordResetPages/passwordReset.css">
  10. <link href="https://fonts.googleapis.com/css?family=Saira&display=swap" rel="stylesheet">
  11. </head>
  12. <body>
  13. <div class="header">
  14. <a class="headerStart" href="/" >
  15. <img src="/shared/images/logo.png" alt="Subline">
  16. <div class='headerLogo'>THE SUBLINE</div>
  17. </a>
  18. <div class="headerEnd">
  19. <a id="helpLink" class="headerHide" href="/help">HELP</a>
  20. <a id="privacyPolicyLink" class="headerHide" href="/privacy">PRIVACY POLICY</a>
  21. <a id="termsLink" class="headerHide" href="/terms">TERMS AND CONDITIONS</a>
  22. </div>
  23. </div>
  24. <% if(banner !== undefined){ %>
  25. <% include ./banner.ejs %>
  26. <% } %>
  27. <h1 class="title">Reset Password</h1>
  28. <form class="form" action="/reset" method="post">
  29. <input name="password" type="password" class="formInput" placeholder="password">
  30. <input name="confirmPassword" type="password" class="formInput" placeholder="confirm password">
  31. <input name="code" type="hidden" value="<%=code%>">
  32. <input name="id" type="hidden" value="<%=id%>">
  33. <input class="button" type="submit" value="RESET PASSWORD">
  34. </form>
  35. <script>
  36. setTimeout(()=>{
  37. let banner = document.getElementById("banner");
  38. if(banner !== null) banner.style.display = "none";
  39. }, 10000);
  40. </script>
  41. </body>
  42. </html>