{% extends "base.html" %} {% block title %}Dashboard{% endblock %} {% block heading %}Dashboard{% endblock %} {% block content %}
{% set stats = [ ("Data Sources", cfg.sources|length, "blue", "M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4"), ("Rules", cfg.rules|length, "purple", "M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"), ("Model Tables", cfg.tables|length, "green", "M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"), ("Fabric Target", cfg.fabric.workspace_name or "Not set","amber", "M13 10V3L4 14h7v7l9-11h-7z"), ] %} {% for label, value, color, icon in stats %}

{{ value }}

{{ label }}

{% endfor %}

Data Platform Flow

{% set steps = [ ("Sources", cfg.sources|length, "blue", "Databases · APIs · CSV · Scrape"), ("Bronze", cfg.tables|selectattr('layer','eq','bronze')|list|length, "orange", "Raw Delta tables · No transforms"), ("Silver", cfg.tables|selectattr('layer','eq','silver')|list|length, "slate", "Clean · SCD · Validated"), ("Gold", cfg.tables|selectattr('layer','eq','gold')|list|length, "yellow", "Star Schema · Aggregated"), ("Semantic", "Model", "purple", "DAX · RLS · DirectLake"), ("Reports", "Power BI", "green", "PBIR · Visuals · Themes"), ] %} {% for label, count, color, sub in steps %}
{{ count }} {{ label }}

{{ sub }}

{% if not loop.last %} {% endif %}
{% endfor %}

Data Sources

Manage →
{% if cfg.sources %}
{% for src in cfg.sources[:5] %}
{{ src.source_type.value }} {{ src.name }}
{{ "on" if src.enabled else "off" }}
{% endfor %}
{% else %}

No sources configured yet.

Add first source
{% endif %}

Quick Actions

{% set actions = [ ("/sources/", "Add Data Source", "blue", "M12 4v16m8-8H4"), ("/rules/", "Add Quality Rule", "purple", "M12 4v16m8-8H4"), ("/model/", "Design Model", "green", "M4 5h16M4 12h16M4 19h16"), ("/pipeline/","Configure Fabric", "amber", "M13 10V3L4 14h7v7l9-11h-7z"), ] %} {% for href, label, color, icon in actions %} {{ label }} {% endfor %}

Fabric target

{% if cfg.fabric.workspace_name %}

📂 {{ cfg.fabric.workspace_name }} / {{ cfg.fabric.lakehouse_name or "—" }}

Refresh: {{ cfg.fabric.refresh_schedule }}

{% else %}

Not configured — set up Fabric →

{% endif %}
{% endblock %}