AQI_APP / templates /results.html
WebashalarForML's picture
Upload 23 files
1e216a1 verified
<!-- templates/results.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Wind Speed Prediction Results</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f8f9fa;
}
.container {
background-color: #ffffff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
h1, h2 {
text-align: center;
color: #343a40;
}
p {
font-size: 1.2em;
color: #555;
}
</style>
</head>
<body>
<div class="container">
<h1>Wind Speed Prediction Results</h1>
<p><strong>Actual Wind Speed:</strong> {{ actual }} km/h</p>
<p><strong>Predicted Wind Speed:</strong> {{ predicted }} km/h</p>
<h2>Location Map</h2>
<iframe src="{{ url_for('static', filename=map_file) }}" width="100%" height="500px" style="border: none; border-radius: 8px;"></iframe>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>