next
This commit is contained in:
parent
9d8010fb66
commit
d41760faa6
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
||||
3.13
|
||||
@ -1,12 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>POC1 Optimierung</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
4265
webapp/frontend/package-lock.json
generated
4265
webapp/frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "poc1-webapp",
|
||||
"private": true,
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"plotly.js-dist-min": "^2.35.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-plotly.js": "^2.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-react": "^4.2.0",
|
||||
"vite": "^5.0.0"
|
||||
}
|
||||
}
|
||||
@ -1,394 +0,0 @@
|
||||
:root {
|
||||
--ink: #1a1a1a;
|
||||
--slate: #4a4a4a;
|
||||
--sand: #f4f0e6;
|
||||
--clay: #d0b58a;
|
||||
--ember: #b34a2a;
|
||||
--paper: #ffffff;
|
||||
--shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
|
||||
--panel: #fffdf8;
|
||||
--panel-soft: #fffaf1;
|
||||
--line: #eadfcb;
|
||||
--line-soft: #eee3cf;
|
||||
--log-bg: #f6efe4;
|
||||
--log-ink: #2f2a25;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
--ink: #e8edf2;
|
||||
--slate: #b7c0c9;
|
||||
--clay: #9a845f;
|
||||
--ember: #d97b59;
|
||||
--paper: #161b20;
|
||||
--shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
|
||||
--panel: #1b2127;
|
||||
--panel-soft: #222a31;
|
||||
--line: #36404a;
|
||||
--line-soft: #414b56;
|
||||
--log-bg: #222930;
|
||||
--log-ink: #d8e0e8;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
||||
color: var(--ink);
|
||||
background: radial-gradient(circle at top, #f8f5ed 0%, #efe6d5 40%, #e0d0b2 100%);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] body {
|
||||
background: radial-gradient(circle at top, #20272e 0%, #171c22 40%, #11161b 100%);
|
||||
}
|
||||
|
||||
.page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 32px;
|
||||
padding: 40px 24px 72px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
padding: 32px 24px;
|
||||
border-radius: 24px;
|
||||
background: linear-gradient(120deg, #ffffff 0%, #f1e4cc 100%);
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
animation: reveal 600ms ease-out;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] .hero {
|
||||
background: linear-gradient(120deg, #20262d 0%, #182027 100%);
|
||||
}
|
||||
|
||||
.hero::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -40% -20% auto auto;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: radial-gradient(circle, rgba(179, 74, 42, 0.35), transparent 70%);
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.hero-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.2em;
|
||||
font-size: 0.7rem;
|
||||
color: var(--ember);
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 12px;
|
||||
font-size: clamp(2rem, 3vw, 3rem);
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
margin: 0;
|
||||
color: var(--slate);
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--paper);
|
||||
border-radius: 20px;
|
||||
padding: 32px;
|
||||
box-shadow: var(--shadow);
|
||||
animation: reveal 700ms ease-out;
|
||||
}
|
||||
|
||||
.form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.file-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 16px;
|
||||
border: 2px dashed var(--clay);
|
||||
border-radius: 16px;
|
||||
background: var(--panel-soft);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-card input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-card.disabled {
|
||||
opacity: 0.55;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
background: transparent;
|
||||
color: var(--ink);
|
||||
border: 1px solid var(--line);
|
||||
box-shadow: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
padding: 12px 16px;
|
||||
font-size: 1rem;
|
||||
background: var(--ember);
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: transform 150ms ease, box-shadow 150ms ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 24px rgba(179, 74, 42, 0.25);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button.secondary {
|
||||
background: var(--panel-soft);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.status {
|
||||
margin-top: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.progress-panel {
|
||||
margin-top: 4px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
background: var(--panel-soft);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.progress-panel-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
color: var(--slate);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.progress-panel-row strong {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.progress-metrics {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 14px;
|
||||
font-size: 0.85rem;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.progress-metrics.terminal-like {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
"Courier New", monospace;
|
||||
background: var(--log-bg);
|
||||
border-radius: 8px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: var(--slate);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.download {
|
||||
display: inline-block;
|
||||
padding: 10px 14px;
|
||||
border-radius: 12px;
|
||||
background: var(--clay);
|
||||
color: var(--ink);
|
||||
text-decoration: none;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.log {
|
||||
margin-top: 16px;
|
||||
padding: 12px;
|
||||
background: var(--log-bg);
|
||||
border-radius: 12px;
|
||||
max-height: 240px;
|
||||
overflow: auto;
|
||||
font-size: 0.85rem;
|
||||
color: var(--log-ink);
|
||||
}
|
||||
|
||||
.chart-panel {
|
||||
margin-top: 28px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--line);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.charts-stack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.chart-card {
|
||||
padding: 14px;
|
||||
border: 1px solid var(--line-soft);
|
||||
border-radius: 16px;
|
||||
background: var(--panel);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.chart-card-title {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 8px 16px;
|
||||
align-items: baseline;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.chart-card-title strong {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.chart-card-title span {
|
||||
color: var(--slate);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.chart-panel h2 {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.chart-panel-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.target-select {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
min-width: 220px;
|
||||
max-width: 280px;
|
||||
font-size: 0.9rem;
|
||||
color: var(--slate);
|
||||
}
|
||||
|
||||
.target-select select {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
padding: 10px 12px;
|
||||
background: var(--panel-soft);
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.target-select input {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
padding: 10px 12px;
|
||||
background: var(--panel-soft);
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.target-select.compact {
|
||||
min-width: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.plot {
|
||||
border-radius: 14px;
|
||||
overflow: hidden;
|
||||
background: var(--panel-soft);
|
||||
border: 1px solid var(--line-soft);
|
||||
}
|
||||
|
||||
@keyframes reveal {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(12px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.card {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
|
||||
.target-select {
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.chart-card-title {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.hero-top {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,10 +0,0 @@
|
||||
import React from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import App from "./App.jsx";
|
||||
import "./App.css";
|
||||
|
||||
createRoot(document.getElementById("root")).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>
|
||||
);
|
||||
@ -1,12 +0,0 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 5173,
|
||||
proxy: {
|
||||
"/api": "http://localhost:8000",
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user