Spaces:
Sleeping
Sleeping
File size: 2,045 Bytes
815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 815a086 cdc2048 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>IPM Data Plots</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background: #f6f8fa;
font-family: "Segoe UI", Arial, sans-serif;
padding: 30px;
}
h2 {
text-align: center;
margin-bottom: 30px;
}
img {
max-width: 90%;
border-radius: 10px;
box-shadow: 0 3px 12px rgba(0,0,0,0.1);
margin: 20px auto;
display: block;
}
.dropdown-container {
text-align: center;
margin-top: 20px;
}
select {
width: 60%;
padding: 10px;
border-radius: 6px;
border: 1px solid #ccc;
}
.card {
border: none;
border-radius: 12px;
box-shadow: 0 3px 12px rgba(0,0,0,0.08);
background: #fff;
padding: 20px;
margin-bottom: 25px;
}
.preview-title {
font-weight: 600;
margin-top: 10px;
}
</style>
<script>
function showPlot() {
const col = document.getElementById("col-select").value;
document.getElementById("dynamic-plot").src = "/plot_image/" + encodeURIComponent(col);
}
</script>
</head>
<body>
<div class="container">
<h2>📈 Golden vs Test Comparison</h2>
<div class="card">
<h4>Preview (First few plots)</h4>
{% for c in preview_cols %}
<div class="preview-title">{{ c }}</div>
<img src="/plot_image/{{ c }}" alt="{{ c }}">
{% endfor %}
</div>
<div class="card">
<h4>Select Another Column to View</h4>
<div class="dropdown-container">
<select id="col-select" onchange="showPlot()">
<option
|