landing.ejs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>The Subline</title>
  5. <link rel="stylesheet" href="/landingPage/landing.css">
  6. <link rel="stylesheet" href="/shared/shared.css">
  7. </head>
  8. <body>
  9. <% include ../shared/header %>
  10. <% include ../shared/banner %>
  11. <div id="publicStrand">
  12. <button onclick="loginObj.display()">Login</button>
  13. <a href="/merchant/new/clover">Register</a>
  14. </div>
  15. <div id="loginStrand">
  16. <form action="/login" method="post">
  17. <label>Email:
  18. <input name="email" type="email" required>
  19. </label>
  20. <label>Password:
  21. <input name="password" type="password" required>
  22. </label>
  23. <input type="submit" value="Log In">
  24. </form>
  25. </div>
  26. <script>let error = <%- JSON.stringify(error) %>;</script>
  27. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  28. <script src="../shared/validation.js"></script>
  29. <script src="/landingPage/public.js"></script>
  30. <script src="/landingPage/login.js"></script>
  31. <script src="/landingPage/controller.js"></script>
  32. </body>
  33. </html>