feat(ui): Fähigkeiten-Symbole mit eigener Farbe und Kachel (Herkunft: gefüllt oder gestrichelt) (#1081)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg3Td16J38kAyDLzb39
This commit is contained in:
2026-11-17 17:36:09 +01:00
parent d522282178
commit 72a328150f
6 changed files with 13 additions and 8 deletions

View File

@ -240,7 +240,7 @@ fn models_table(state: &AppState, viewer: &Viewer) -> String {
format!(
"<div class=\"breit\"><table data-filtern=\"modelle\"><thead><tr><th data-spalte=\"name\">Name</th><th data-spalte=\"engine\" data-filter>Engine</th><th data-spalte=\"status\" data-filter>Status</th><th>Kann</th><th>GPUs</th>\
<th class=\"num\" data-spalte=\"kontext\" data-zahl>Kontext</th><th class=\"num\" data-spalte=\"speicher\" data-zahl>Speicher</th><th data-spalte=\"zustand\" data-filter>Zustand</th>{}</tr></thead><tbody>{body}</tbody></table></div>\
<p class=\"klein\">Kann: farbige Symbole sind aus den Dateien des Modells erkannt (zum Beispiel eine Bild-Zusatzdatei), graue sind Fähigkeiten der Engine, für das einzelne Modell nicht geprüft.</p>",
<p class=\"klein\">Kann: Symbole auf gefüllter Kachel sind aus den Dateien des Modells erkannt (zum Beispiel eine Bild-Zusatzdatei), Symbole mit gestricheltem Umriss sind Fähigkeiten der Engine, für das einzelne Modell nicht geprüft.</p>",
if viewer.admin() { "<th></th>" } else { "" }
)
}