Files
digiserver/templates/player_auth.html
2025-02-15 21:27:28 +02:00

41 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Player Authentication</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body.dark-mode {
background-color: #121212;
color: #ffffff;
}
.card.dark-mode {
background-color: #1e1e1e;
color: #ffffff;
}
.dark-mode label, .dark-mode th, .dark-mode td {
color: #ffffff;
}
</style>
</head>
<body class="{{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="container py-5">
<h1 class="text-center mb-4">Player Authentication</h1>
<form action="{{ url_for('player_fullscreen', player_id=player_id) }}" method="post">
<div class="mb-3">
<label for="hostname" class="form-label">Hostname</label>
<input type="text" class="form-control" id="hostname" name="hostname" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="mb-3">
<label for="quickconnect_password" class="form-label">Quick Connect Password</label>
<input type="password" class="form-control" id="quickconnect_password" name="quickconnect_password">
</div>
<button type="submit" class="btn btn-primary">Authenticate</button>
</form>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>