diff --git a/templates/index.html b/templates/index.html index df0ee9f..cf8b60d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -56,7 +56,7 @@ body { margin: 0; - padding-top: 60px; /* Platz für die Toolbar schaffen */ + padding-top: 60px; /* Platz für die Toolbar */ } .top-toolbar { @@ -64,87 +64,93 @@ top: 0; left: 0; width: 100%; - background-color: #2c3e50; + background-color: #1e293b; color: white; - height: 50px; + height: 55px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-sizing: border-box; - box-shadow: 0 2px 5px rgba(0,0,0,0.2); + box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); z-index: 1000; + border-bottom: 1px solid #334155; } .toolbar-title { font-weight: bold; - font-size: 1.2em; + font-size: 1.1em; + color: #38bdf8; } - /* Erzeugt eine horizontale Reihe für alle Steuerelemente */ .toolbar-controls { display: flex; align-items: center; - gap: 12px; /* Abstand zwischen den Elementen */ - flex-wrap: nowrap; /* Verhindert das Umbrechen in eine neue Zeile */ + gap: 10px; } - /* Verhindert, dass Labels umbrechen */ .toolbar-controls label { white-space: nowrap; - font-size: 13px; - color: #bdc3c7; + font-size: 12px; + color: #94a3b8; } - /* Der URL-Container als Teil der horizontalen Kette */ #ollama-url-container { - display: none; /* Wird per JS auf 'flex' gesetzt */ + display: none; align-items: center; gap: 8px; - border-left: 1px solid #555; + border-left: 1px solid #475569; padding-left: 12px; } - /* Kurze Korrektur für die Eingabefelder, damit sie nicht zu breit werden */ .toolbar-controls select, .toolbar-controls input { height: 32px; - background: white; - color: #2c3e50; + background: #0f172a; + color: white; + border: 1px solid #475569; border-radius: 4px; padding: 0 8px; - font-size: 13px; + font-size: 12px; + outline: none; } - #ollama-url { - width: 180px; /* Damit das Feld nicht die ganze Leiste sprengt */ + .toolbar-controls select:focus, + .toolbar-controls input:focus { + border-color: #38bdf8; } - /* WICHTIG: Den Speichern-Button überschreiben wir wieder, damit er grün mit weißer Schrift bleibt */ - .save-btn { - background-color: #27ae60; - color: white !important; - border: none; - cursor: pointer; + /* Schicke Toolbar-Buttons */ + .btn-tool { + height: 32px; + padding: 0 12px; + border-radius: 4px; + font-size: 12px; font-weight: bold; + transition: all 0.2s; + display: flex; + align-items: center; + gap: 5px; } .save-btn { - background-color: #27ae60; + background-color: #059669; color: white; - border: none; - cursor: pointer; - font-weight: bold; } - .save-btn:hover { - background-color: #2ecc71; + .save-btn:hover { background-color: #10b981; } + + .add-node-btn { + background-color: #2563eb; + color: white; } + .add-node-btn:hover { background-color: #3b82f6; } + #settings-status { - color: #2ecc71; - font-size: 0.9em; - min-width: 100px; + color: #10b981; + font-size: 11px; + min-width: 80px; } .markdown-content pre { background: #000; padding: 8px; border-radius: 4px; border: 1px solid #334155; overflow-x: auto; margin: 8px 0; } @@ -153,10 +159,17 @@ +
🤖 KI-Orchestrator
+ + +
+
- +
- +
-
-

📍 Nodes

+
+

+ 📍 Nodes +

{% for node in nodes %}
@@ -197,12 +212,11 @@ {{ node.status }}
- +
{% endfor %}
- - +
@@ -212,8 +226,8 @@
💬 KI Chat
- - + +
@@ -235,155 +249,132 @@ -