diff --git a/config/instance.yaml.example b/config/instance.yaml.example index 49d97e7..30f54ed 100644 --- a/config/instance.yaml.example +++ b/config/instance.yaml.example @@ -11,6 +11,8 @@ instance: name: "AI Data Analyst" subtitle: "Your Organization" copyright: "Your Organization" + # logo_svg: Full element for header logo (optional, default: Keboola logo) + # Example: 'Logo' # --- Server --- server: diff --git a/webapp/config.py b/webapp/config.py index e4448d0..9f18f8b 100644 --- a/webapp/config.py +++ b/webapp/config.py @@ -107,6 +107,14 @@ class Config: INSTANCE_SUBTITLE = _get(_instance, "instance", "subtitle", default="") INSTANCE_COPYRIGHT = _get(_instance, "instance", "copyright", default="") + # Logo SVG (full element, rendered with |safe in templates) + # Default: Keboola logo; override in instance.yaml with instance.logo_svg + LOGO_SVG = _get(_instance, "instance", "logo_svg", default=( + '' + '' + '' + )) + # Theme colors (optional overrides from instance config) THEME_PRIMARY = _get(_instance, "theme", "primary", default="") THEME_PRIMARY_DARK = _get(_instance, "theme", "primary_dark", default="") diff --git a/webapp/templates/activity_center.html b/webapp/templates/activity_center.html index b2f143c..9e3c87b 100644 --- a/webapp/templates/activity_center.html +++ b/webapp/templates/activity_center.html @@ -1751,9 +1751,7 @@
Activity Center DEMO
diff --git a/webapp/templates/admin_tables.html b/webapp/templates/admin_tables.html index 5cf14a8..0295cbd 100644 --- a/webapp/templates/admin_tables.html +++ b/webapp/templates/admin_tables.html @@ -741,9 +741,7 @@
Table Management
diff --git a/webapp/templates/catalog.html b/webapp/templates/catalog.html index 52ea189..5bba0aa 100644 --- a/webapp/templates/catalog.html +++ b/webapp/templates/catalog.html @@ -1294,9 +1294,7 @@
Data Catalog
diff --git a/webapp/templates/dashboard.html b/webapp/templates/dashboard.html index 1d44365..c061401 100644 --- a/webapp/templates/dashboard.html +++ b/webapp/templates/dashboard.html @@ -1835,9 +1835,7 @@
Data Analyst Portal