modified: Dockerfile modified: app.py new file: locales/de-DE.json modified: templates/login.html modified: templates/playlists.html modified: templates/quiz.html
67 lines
1.5 KiB
HTML
67 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{ translations['quiz_title'] }}</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;
|
|
}
|
|
.playlist-container {
|
|
background: rgba(25, 20, 20, 0.85);
|
|
padding: 40px 50px;
|
|
border-radius: 20px;
|
|
margin-top: 60px;
|
|
box-shadow: 0 8px 32px 0 rgba(0,0,0,0.37);
|
|
min-width: 350px;
|
|
}
|
|
h2 {
|
|
margin-bottom: 30px;
|
|
font-size: 2em;
|
|
letter-spacing: 1px;
|
|
text-align: center;
|
|
}
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
li {
|
|
margin: 15px 0;
|
|
}
|
|
a.playlist-link {
|
|
display: block;
|
|
padding: 15px 25px;
|
|
background-color: #1DB954;
|
|
color: #fff;
|
|
border-radius: 30px;
|
|
text-decoration: none;
|
|
font-size: 1.1em;
|
|
font-weight: bold;
|
|
transition: background 0.2s, transform 0.2s;
|
|
text-align: center;
|
|
}
|
|
a.playlist-link:hover {
|
|
background-color: #1ed760;
|
|
transform: scale(1.04);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="playlist-container">
|
|
<h2>{{ translations['choose_playlist'] }}</h2>
|
|
<ul>
|
|
{% for pl in playlists %}
|
|
<li><a class="playlist-link" href="/quiz/{{ pl.id }}">{{ pl.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|