feat: Add initial PolyWeather legacy dashboard application with map, detail panel, and temperature charts.
This commit is contained in:
@@ -3,7 +3,7 @@ export default function HomePage() {
|
|||||||
<main className="h-screen w-screen overflow-hidden bg-black">
|
<main className="h-screen w-screen overflow-hidden bg-black">
|
||||||
<iframe
|
<iframe
|
||||||
title="PolyWeather Legacy Dashboard"
|
title="PolyWeather Legacy Dashboard"
|
||||||
src="/legacy/index.html?v=legacy-v2"
|
src="/legacy/index.html?v=legacy-v3"
|
||||||
className="h-full w-full border-0"
|
className="h-full w-full border-0"
|
||||||
/>
|
/>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
|
||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
|
|
||||||
<link rel="stylesheet" href="/static/style.css">
|
<link rel="stylesheet" href="/static/style.css?v=legacy-v3">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
<script src="https://leaflet.github.io/Leaflet.heat/dist/leaflet-heat.js"></script>
|
<script src="https://leaflet.github.io/Leaflet.heat/dist/leaflet-heat.js"></script>
|
||||||
<!-- Chart.js -->
|
<!-- Chart.js -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@4/dist/chart.umd.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@4/dist/chart.umd.min.js"></script>
|
||||||
<script src="/static/app.js"></script>
|
<script src="/static/app.js?v=legacy-v3"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1325,9 +1325,9 @@ async function openHistoryModal() {
|
|||||||
selectedCity === "ankara" && mgms.some((value) => value != null);
|
selectedCity === "ankara" && mgms.some((value) => value != null);
|
||||||
|
|
||||||
statsDiv.innerHTML = `
|
statsDiv.innerHTML = `
|
||||||
<div class="h-stat-card"><span class="label">DEB ???? (WU)</span><span class="val">${hitRate === "--" ? "--" : `${hitRate}%`}</span></div>
|
<div class="h-stat-card"><span class="label">DEB 结算胜率 (WU)</span><span class="val">${hitRate === "--" ? "--" : `${hitRate}%`}</span></div>
|
||||||
<div class="h-stat-card"><span class="label">DEB MAE</span><span class="val">${debMae}?</span></div>
|
<div class="h-stat-card"><span class="label">DEB MAE</span><span class="val">${debMae}°</span></div>
|
||||||
<div class="h-stat-card"><span class="label">?15??????</span><span class="val">${settledData.length}?</span></div>
|
<div class="h-stat-card"><span class="label">近15天已结算样本</span><span class="val">${settledData.length}天</span></div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const datasets = [
|
const datasets = [
|
||||||
|
|||||||
Reference in New Issue
Block a user