login.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {{ define "login.html" }}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="/api/v1/cdn/bootstrap.min.css">
  8. <link rel="stylesheet" href="/api/v1/cdn/mdb.min.css">
  9. </head>
  10. <body style="background-color: rgb(56, 56, 56);">
  11. <div class="container-fluid p-5 position-relative">
  12. <div class="container">
  13. <div class="row">
  14. <div class="col-sm"></div>
  15. <div class="row position-relative shadow-lg p-3 m-3 rounded justify-content-center"
  16. style="width: 80vh; max-width: 95%; background-color: rgb(22, 22, 22);">
  17. <div class="col-sm" style="color: whitesmoke; font-size: xx-large; font-family: monospace;">
  18. <form method="post"
  19. hx-post="/login"
  20. hx-ext="json-enc">
  21. <input type="text" name="username" placeholder="do androids dream" required><br>
  22. <input type="password" name="password" placeholder="of electric sheep?" required><br>
  23. <button type="submit">Send</button>
  24. </form>
  25. </div>
  26. </div>
  27. <div class="col-sm"></div>
  28. </div>
  29. </div>
  30. </div>
  31. </body>
  32. <script src="/api/v1/cdn/htmx.min.js"></script>
  33. <script src="/api/v1/cdn/json-enc.js"></script>
  34. </html>
  35. {{ end }}