- app/serveur/ (FastAPI) and app/web/ (React, Mantine) moved out of API/, which keeps
only the agents; the Support page drives them
- Images page: view.py in React (slider, zoom, sensor names, displacement arrows on a range)
- Labeling page: labeling.py in React (two aligned plots, label bar, add, edit, delete);
labels are written to labeling/{auto,manual}/ of the repo (AIMSIGHT_LABELS)
- shared station and date selector kept in the address; buttons from a support session
- app/serveur/station.py: the data of both pages, copied computations listed in app/README.md
- app/serveur/check.py: server and station checks (labels in a temporary folder)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
919 B
React
25 lines
919 B
React
import { createRoot } from "react-dom/client";
|
|
import { MantineProvider, createTheme } from "@mantine/core";
|
|
import { Notifications } from "@mantine/notifications";
|
|
import "@mantine/core/styles.css";
|
|
import "@mantine/notifications/styles.css";
|
|
import "./style.css";
|
|
import App from "./App.jsx";
|
|
|
|
// Bleu primaire #5383ff (shade 5), la palette retenue pour la page
|
|
const theme = createTheme({
|
|
primaryColor: "aimsight",
|
|
primaryShade: 5,
|
|
colors: { aimsight: ["#eef3ff", "#dce5ff", "#b8c9ff", "#91abff", "#6f92ff", "#5383ff", "#4574f5", "#3863dc", "#2c55c4", "#1d45ab"] },
|
|
fontFamily: "Roboto, Helvetica, Arial, sans-serif",
|
|
headings: { fontFamily: "Roboto, Helvetica, Arial, sans-serif" },
|
|
defaultRadius: "md",
|
|
});
|
|
|
|
createRoot(document.getElementById("racine")).render(
|
|
<MantineProvider theme={theme} defaultColorScheme="auto">
|
|
<Notifications position="top-right" />
|
|
<App />
|
|
</MantineProvider>,
|
|
);
|