luulinh90s's picture
update
40cdf6a
<!DOCTYPE html>
<html>
<head>
<title>Experiment Completed</title>
<style>
body {
font-family: 'Roboto', sans-serif;
background: url('/static/images/background.jpg') no-repeat center center fixed;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
background-color: #ffffff;
padding: 60px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 60%;
}
h1 {
color: #000000;
font-size: 48px;
margin-bottom: 30px;
}
p {
color: #000000;
font-size: 24px;
margin-bottom: 30px;
}
.thank-you {
color: #4CAF50;
font-size: 24px;
margin-top: 20px;
}
.button-container {
margin-top: 30px;
}
button {
background-color: #4CAF50;
color: white;
padding: 15px 30px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 24px;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>Thank you! πŸ˜ƒπŸ˜ƒπŸ˜ƒ</h1>
<p>Experiment completed! Your responses have been recorded.</p>
{% for method, preference in preferences.items() %}
<p>{{ method }} preference rate: {{ preference }}%</p>
{% endfor %}
<div class="button-container">
<a href="/" style="text-decoration: none;">
<button>Back to Start Page</button>
</a>
</div>
</div>
</body>
</html>