Files
quizify/templates/gamemodes.html
Simon 5a271f2cbc modified: templates/gamemodes.html
modified:   templates/playerselect.html
2025-11-15 01:08:42 +01:00

83 lines
2.9 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<title>{{ translations['quiz_title'] }} Game Modes</title>
<style>
body {
background: linear-gradient(135deg, #191414 0%, #1DB954 100%);
color: #fff;
font-family: Arial, sans-serif;
min-height: 100vh;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.gamemode-container {
background: rgba(25, 20, 20, 0.92);
padding: 40px 50px;
border-radius: 22px;
box-shadow: 0 8px 32px 0 rgba(0,0,0,0.37);
min-width: 350px;
text-align: center;
}
.gamemode-btn {
display: block;
width: 100%;
padding: 18px 0;
margin: 18px 0;
font-size: 1.2em;
font-weight: bold;
border-radius: 30px;
border: none;
background: #1DB954;
color: #fff;
cursor: pointer;
transition: background 0.2s, transform 0.2s;
text-align: center;
letter-spacing: 1px;
}
.gamemode-btn:hover {
background: #1ed760;
transform: scale(1.04);
}
.gamemode-btn.disabled, .gamemode-btn[disabled] {
background: #535353;
color: #bbb;
cursor: not-allowed;
opacity: 0.7;
pointer-events: none;
border: 1px solid #888;
}
.gamemode-desc {
font-size: 0.95em;
color: #bdbdbd;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="gamemode-container">
<h2>{{ translations['quiz_title'] }} Game Modes</h2>
<form method="get" action="{{ url_for('playerselect', playlist_id=playlist_id) }}">
<input type="hidden" name="mode" value="title">
<button class="gamemode-btn" type="submit">{{ translations['quiz_mode'] if translations['quiz_mode'] else 'Quiz Mode' }}</button>
<div class="gamemode-desc">{{ translations['quiz_mode_desc'] if translations['quiz_mode_desc'] else 'Classic music quiz.' }}</div>
</form>
<form method="get" action="{{ url_for('playerselect', playlist_id=playlist_id) }}">
<input type="hidden" name="mode" value="title">
<input type="hidden" name="buzzer" value="1">
<button class="gamemode-btn" type="submit">{{ translations['buzzer_mode'] if translations['buzzer_mode'] else '🔴 Buzzer Mode' }}</button>
<div class="gamemode-desc">{{ translations['buzzer_mode_desc'] if translations['buzzer_mode_desc'] else 'Schnelligkeit zählt! Je schneller du antwortest, desto mehr Punkte bekommst du.' }}</div>
</form>
<button class="gamemode-btn disabled" disabled>Battle Mode</button>
<div class="gamemode-desc">Coming soon!</div>
<button class="gamemode-btn disabled" disabled>Party Mode</button>
<div class="gamemode-desc">Coming soon!</div>
<div style="margin-top:30px;">
<a href="{{ url_for('playlists') }}" style="color:#1DB954;">&larr; {{ translations['choose_playlist'] }}</a>
</div>
</div>
</body>
</html>