landing.ejs 1.3 KB

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