{# Shared modern header — used by base.html and dashboard.html. Styles live in app/web/static/style-custom.css under the .app-* prefix. #} {% if session.user %} {% if config.LOGO_SVG %}{{ config.LOGO_SVG | safe }}{% else %}{{ config.INSTANCE_NAME or 'Data Analyst Portal' }}{% endif %} {{ config.INSTANCE_SUBTITLE or 'Data Analyst Portal' }} {% set _path = request.url.path %} Dashboard Install CLI {% if session.user.role == 'admin' %} Users Role mapping All tokens {% endif %} {% if session.user.picture %} {% else %} {{ (session.user.name or session.user.email)[:2] | upper }} {% endif %} {{ session.user.email }} {% if session.user.role %} {{ session.user.role | capitalize }} {% endif %} Profile My tokens Logout {% endif %}