register.ejs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>The Subline</title>
  6. <link rel="icon" type="img/png" href="/shared/images/logo.png">
  7. <link rel="stylesheet" href="/otherPages/style.css">
  8. <link rel="stylesheet" href="/shared/shared.css">
  9. <link href="https://fonts.googleapis.com/css?family=Saira&display=swap" rel="stylesheet">
  10. </head>
  11. <body id="register">
  12. <div class="header">
  13. <a class="headerStart" href="/" >
  14. <img src="/shared/images/logo.png" alt="Subline">
  15. <div class='headerLogo'>THE SUBLINE</div>
  16. </a>
  17. </div>
  18. <% if(banner !== undefined){ %>
  19. <% include ../shared/banner.ejs %>
  20. <% } %>
  21. <form action="/merchant/create/none" method="post">
  22. <h1> Join The Subline </h1>
  23. <label id="nameLabel">Restaurant Name
  24. <input type="text" name="name" required>
  25. </label>
  26. <label>Email
  27. <input type="email" name="email" required>
  28. </label>
  29. <label>Password
  30. <input type="password" name="password" required>
  31. </label>
  32. <label>Confirm Password
  33. <input type="password" name="confirmPassword" required>
  34. </label>
  35. <label id="agreement">
  36. <input type="checkbox" name="agree">
  37. <p>I agree to the
  38. <a class="link" href="/privacy">Privacy Policy</a> and the
  39. <a class="link" href="/terms">Terms and Conditions</a>
  40. </p>
  41. </label>
  42. <input class="buttonDisabled" type="submit" value="Sign Up with Email">
  43. <h1>OR</h1>
  44. <!-- <a class="button buttonWithBorder" href="/cloverlogin">Sign Up with Clover</a> -->
  45. <a class="button buttonWithBorder" href="/squarelogin">Sign Up with Square</a>
  46. <a class="link" href="/login">Already have an account? Please Sign In</a>
  47. </form>
  48. <% include ../shared/footer %>
  49. <script>
  50. let banner = document.getElementById("banner");
  51. let timer = setTimeout(()=>{
  52. if(banner !== null) banner.style.display = "none";
  53. }, 10000);
  54. document.getElementById("bannerButton").onclick = ()=>{
  55. banner.style.display = "none";
  56. clearTimeout(timer);
  57. };
  58. </script>
  59. </body>
  60. </html>