login.html 1.3 KB

1234567891011121314151617181920212223242526
  1. {{ define "login" }}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <div class="container-fluid p-5 position-relative">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-sm"></div>
  8. <div class="row position-relative shadow-lg p-3 m-3 rounded justify-content-center"
  9. style="width: 80vh; max-width: 95%; background-color: rgb(22, 22, 22);">
  10. <div class="col-sm" style="color: whitesmoke; font-size: xx-large; font-family: monospace;">
  11. <form method="post"
  12. hx-post="/login"
  13. hx-ext="json-enc"
  14. hx-target="#main">
  15. <input type="text" name="username" placeholder="do androids dream" required><br>
  16. <input type="password" name="password" placeholder="of electric sheep?" required><br>
  17. <button class="btn-primary" type="submit" hx-target="#main">Send</button>
  18. </form>
  19. </div>
  20. </div>
  21. <div class="col-sm"></div>
  22. </div>
  23. </div>
  24. </div>
  25. </html>
  26. {{ end }}