From 70f76633a9fd3e1d5e8428383b8ec95a44075ab9 Mon Sep 17 00:00:00 2001 From: Md Bayazid Bostame Date: Sat, 28 Mar 2026 12:37:54 +0100 Subject: [PATCH] snapshot: unify shared admin editor components --- .../static/workflows/css/design_system.css | 86 +++++++++++++++++++ .../workflows/branding_settings.html | 2 +- .../workflows/integrations_setup.html | 6 +- .../templates/workflows/intro_builder.html | 22 ++--- .../templates/workflows/trial_management.html | 10 +-- 5 files changed, 106 insertions(+), 20 deletions(-) diff --git a/backend/workflows/static/workflows/css/design_system.css b/backend/workflows/static/workflows/css/design_system.css index eb8028c..ab73c31 100644 --- a/backend/workflows/static/workflows/css/design_system.css +++ b/backend/workflows/static/workflows/css/design_system.css @@ -165,6 +165,26 @@ body { gap: 14px; } +.app-editor-shell { + display: grid; + grid-template-columns: 260px minmax(0, 1fr); + gap: 18px; + align-items: start; +} + +.app-editor-sidebar { + position: sticky; + top: 18px; + display: grid; + gap: 14px; +} + +.app-editor-main { + min-width: 0; + display: grid; + gap: 14px; +} + .app-sidebar-card { padding: 16px; border: 1px solid rgba(216, 226, 239, 0.94); @@ -252,6 +272,32 @@ body { gap: 12px; } +.app-stat-grid { + display: grid; + gap: 12px; +} + +.app-stat-card { + display: grid; + gap: 2px; + padding: 14px; + border: 1px solid rgba(216, 226, 239, 0.94); + border-radius: 16px; + background: linear-gradient(180deg, #fbfdff, #ffffff); +} + +.app-stat-card strong { + font-size: 22px; + line-height: 1; + color: #163566; +} + +.app-stat-card span { + color: var(--ds-muted); + font-size: 12px; + font-weight: 700; +} + .app-side-stat { display: grid; gap: 2px; @@ -409,6 +455,33 @@ table th { flex-wrap: wrap; } +.app-action-row { + margin-top: 12px; + display: flex; + gap: 10px; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; +} + +.app-action-row.is-sticky { + position: sticky; + bottom: 14px; + z-index: 4; + padding-top: 12px; + border-top: 1px solid #dbe5f2; + background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.98)); +} + +.app-note-row { + display: flex; + justify-content: space-between; + align-items: center; + gap: 10px; + flex-wrap: wrap; + margin-top: 18px; +} + .app-module-link, .tab { display: inline-flex; @@ -499,6 +572,19 @@ table th { .page-stack { padding: 18px; } + + .app-editor-shell { + grid-template-columns: 1fr; + } + + .app-editor-sidebar { + position: static; + } + + .app-action-row { + align-items: stretch; + flex-direction: column; + } } @media (max-width: 760px) { diff --git a/backend/workflows/templates/workflows/branding_settings.html b/backend/workflows/templates/workflows/branding_settings.html index 2c541fa..ba937bb 100644 --- a/backend/workflows/templates/workflows/branding_settings.html +++ b/backend/workflows/templates/workflows/branding_settings.html @@ -190,7 +190,7 @@ {% endfor %} -
+
{% trans "Die aktuell gesetzte Deployment-Branding bleibt erhalten, bis hier Werte geändert oder Dateien hochgeladen werden." %}
diff --git a/backend/workflows/templates/workflows/integrations_setup.html b/backend/workflows/templates/workflows/integrations_setup.html index 853f75a..b82a0e6 100644 --- a/backend/workflows/templates/workflows/integrations_setup.html +++ b/backend/workflows/templates/workflows/integrations_setup.html @@ -59,7 +59,7 @@ -
+
@@ -121,7 +121,7 @@
-
+
@@ -196,7 +196,7 @@
{% endfor %} -
+
diff --git a/backend/workflows/templates/workflows/intro_builder.html b/backend/workflows/templates/workflows/intro_builder.html index acca81b..7e2d367 100644 --- a/backend/workflows/templates/workflows/intro_builder.html +++ b/backend/workflows/templates/workflows/intro_builder.html @@ -25,24 +25,24 @@ {% include 'workflows/includes/messages.html' %} -
-