login.html 1.3 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Login</title>
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet">
  8. </head>
  9. <body class="bg-light">
  10. <div class="container d-flex justify-content-center align-items-center vh-100">
  11. <div class="card p-4 shadow-lg" style="width: 100%; max-width: 400px;">
  12. <h2 class="text-center mb-4">Login</h2>
  13. <form action="/login" method="post">
  14. <div class="mb-3">
  15. <label for="name" class="form-label">Name</label>
  16. <input type="name" class="form-control" id="name" name="name" required>
  17. </div>
  18. <div class="mb-3">
  19. <label for="password" class="form-label">Password</label>
  20. <input type="password" class="form-control" id="password" name="password" required>
  21. </div>
  22. <button type="submit" class="btn btn-primary w-100">Login</button>
  23. </form>
  24. </div>
  25. </div>
  26. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"></script>
  27. </body>
  28. </html>