| | <!DOCTYPE html> |
| | <html> |
| | <head> |
| | <title>Experiment Completed</title> |
| | <style> |
| | body { |
| | font-family: 'Roboto', sans-serif; |
| | background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); |
| | margin: 0; |
| | padding: 0; |
| | display: flex; |
| | justify-content: center; |
| | align-items: center; |
| | height: 100vh; |
| | overflow: hidden; |
| | } |
| | .container { |
| | background-color: rgba(255, 255, 255, 0.9); |
| | border-radius: 20px; |
| | padding: 40px; |
| | box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); |
| | text-align: center; |
| | max-width: 600px; |
| | width: 90%; |
| | } |
| | h1 { |
| | color: #2c3e50; |
| | font-size: 36px; |
| | margin-bottom: 30px; |
| | animation: bounce 1s ease; |
| | } |
| | .stats-container { |
| | display: flex; |
| | flex-direction: column; |
| | align-items: center; |
| | margin-bottom: 30px; |
| | } |
| | .stat-card { |
| | background-color: #fff; |
| | border-radius: 15px; |
| | padding: 20px; |
| | margin: 10px; |
| | box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); |
| | width: 80%; |
| | transition: transform 0.3s ease; |
| | } |
| | .prediction-stats { |
| | display: flex; |
| | justify-content: space-between; |
| | width: 80%; |
| | } |
| | .prediction-stat-card { |
| | flex: 1; |
| | margin: 0 5px; |
| | } |
| | .stat-card:hover, .prediction-stat-card:hover { |
| | transform: translateY(-5px); |
| | } |
| | .stat-title { |
| | font-size: 18px; |
| | color: #7f8c8d; |
| | margin-bottom: 10px; |
| | } |
| | .stat-value { |
| | font-size: 28px; |
| | font-weight: bold; |
| | color: #2c3e50; |
| | } |
| | .button-container { |
| | margin-top: 30px; |
| | } |
| | button { |
| | background-color: #3498db; |
| | color: white; |
| | border: none; |
| | padding: 15px 30px; |
| | font-size: 18px; |
| | border-radius: 50px; |
| | cursor: pointer; |
| | transition: background-color 0.3s ease, transform 0.3s ease; |
| | } |
| | button:hover { |
| | background-color: #2980b9; |
| | transform: scale(1.05); |
| | } |
| | @keyframes bounce { |
| | 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} |
| | 40% {transform: translateY(-30px);} |
| | 60% {transform: translateY(-15px);} |
| | } |
| | </style> |
| | <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet"> |
| | <script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js"></script> |
| | </head> |
| | <body> |
| | <div class="container"> |
| | <h1>Thank you!</h1> |
| | <p>You've successfully completed the experiment. Your predictions have been recorded.</p> |
| | <div class="stats-container"> |
| | <div class="stat-card"> |
| | <div class="stat-title">Your Labeling Accuracy</div> |
| | <div class="stat-value">{{ accuracy }}%</div> |
| | </div> |
| | <div class="prediction-stats"> |
| | <div class="stat-card prediction-stat-card"> |
| | <div class="stat-title">You Predicted TRUE</div> |
| | <div class="stat-value">{{ true_percentage }}%</div> |
| | </div> |
| | <div class="stat-card prediction-stat-card"> |
| | <div class="stat-title">You Predicted FALSE</div> |
| | <div class="stat-value">{{ false_percentage }}%</div> |
| | </div> |
| | </div> |
| | </div> |
| | <div class="button-container"> |
| | <a href="/" style="text-decoration: none;"> |
| | <button>Back to Start Page</button> |
| | </a> |
| | </div> |
| | </div> |
| | <script> |
| | |
| | confetti({ |
| | particleCount: 100, |
| | spread: 70, |
| | origin: { y: 0.6 } |
| | }); |
| | </script> |
| | </body> |
| | </html> |