spotdl-py/templates/login.html

38 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2024-09-07 23:21:06 +00:00
<!DOCTYPE html>
2024-09-07 23:24:56 +00:00
<html lang="en">
2024-09-07 23:21:06 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-09-07 23:24:56 +00:00
<title>Login</title>
2024-09-07 23:21:06 +00:00
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
2024-09-07 23:24:56 +00:00
<style>
body {
background-color: #121212;
color: white;
}
.container {
margin-top: 50px;
}
.form-label {
color: white;
}
</style>
2024-09-07 23:21:06 +00:00
</head>
<body>
<div class="container">
2024-09-07 23:24:56 +00:00
<h1 class="text-center">Connexion</h1>
<form action="/login" method="POST">
<div class="mb-3">
<label for="username" class="form-label">Nom d'utilisateur</label>
<input type="text" class="form-control" id="username" name="username" required>
2024-09-07 23:21:06 +00:00
</div>
2024-09-07 23:24:56 +00:00
<div class="mb-3">
<label for="password" class="form-label">Mot de passe</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary">Se connecter</button>
</form>
2024-09-07 23:21:06 +00:00
</div>
</body>
</html>