verify.ejs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en">
  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 href="https://fonts.googleapis.com/css?family=Saira&display=swap" rel="stylesheet">
  9. <link rel="stylesheet" href="/shared/shared.css">
  10. <link rel="stylesheet" href="/verifyPage/verify.css">
  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">An email has been sent to <%=email%>. Use the link in the email to verify your account.</h1>
  28. <p class="text">If you did not recieve an email or need to change your email address, enter it below and click submit.</p>
  29. <form class="form" action="/verify/resend" method="post">
  30. <input class="email" name="email" type="email" required>
  31. <input name="id" type="hidden" value="<%=id%>">
  32. <input class="button" type="submit" value="SUBMIT">
  33. </form>
  34. </body>
  35. <script>
  36. setTimeout(()=>{
  37. let banner = document.getElementById("banner");
  38. if(banner !== null) banner.style.display = "none";
  39. }, 10000);
  40. </script>
  41. </html>