diff --git a/itou/static/css/itou.css b/itou/static/css/itou.css index 47819fefe5..1c8f794b8c 100644 --- a/itou/static/css/itou.css +++ b/itou/static/css/itou.css @@ -457,3 +457,10 @@ an input field being invalid, generating an uncontrolled red box-shadow. */ border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; } + +.c-banner--pilotage { + background-image: url("../img/dashboard/banner-statistiques-pilotage-bg.jpg"); + background-repeat: no-repeat; + background-position: center right; + background-size: cover; +} diff --git a/itou/static/img/dashboard/banner-statistiques-pilotage-bg.jpg b/itou/static/img/dashboard/banner-statistiques-pilotage-bg.jpg new file mode 100644 index 0000000000..371fc26d60 Binary files /dev/null and b/itou/static/img/dashboard/banner-statistiques-pilotage-bg.jpg differ diff --git a/itou/templates/dashboard/dashboard.html b/itou/templates/dashboard/dashboard.html index 1a47f3fca1..6c2d71bfd8 100644 --- a/itou/templates/dashboard/dashboard.html +++ b/itou/templates/dashboard/dashboard.html @@ -2,6 +2,8 @@ {% load format_filters %} {% load static tally %} {% load matomo %} +{% load theme_inclusion %} + {% block title %}Tableau de bord {{ block.super }}{% endblock %} {% block messages %} @@ -154,107 +156,168 @@ {% endblock %} {% block content_title %} -
- {% if user.is_prescriber %} - {% if request.current_organization.code_safir_pole_emploi %} - {% if request.current_organization.is_authorized %}Prescripteur habilité -{% endif %} - Code SAFIR {{ request.current_organization.code_safir_pole_emploi }} - {% elif request.current_organization.siret %} - {% if request.current_organization.is_authorized %}Prescripteur habilité -{% endif %} - SIRET {{ request.current_organization.siret|format_siret }} - {% endif %} - {% elif user.is_employer %} - SIRET {{ request.current_organization.siret|format_siret }} +
+ {% if user.is_prescriber %} + {% if request.current_organization.code_safir_pole_emploi %} + {% if request.current_organization.is_authorized %}Prescripteur habilité -{% endif %} + Code SAFIR {{ request.current_organization.code_safir_pole_emploi }} + {% elif request.current_organization.siret %} + {% if request.current_organization.is_authorized %}Prescripteur habilité -{% endif %} + SIRET {{ request.current_organization.siret|format_siret }} + {% endif %} + {% elif user.is_employer %} + SIRET {{ request.current_organization.siret|format_siret }} + {% endif %} +
{% endif %} - - {% endif %} +