app/: the web app in its own folder, with the Images and Labeling pages (D-138)
- 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>
This commit is contained in:
1 parent
374d91eb15
commit
bd93e708d2
26 files changed
+1263
-206
No files matched your search
@@ -0,0 +1,24 @@
|
||||
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>,
|
||||
);
|
||||
Reference in new issue
Block a user