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_job_seeker and user.get_full_name %}Tableau de bord - {{ user.get_full_name }}{% endif %} - {% if request.current_organization %}{{ request.current_organization.display_name }}{% endif %} -

- {% if request.current_organization %} -

- {% 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_job_seeker and user.get_full_name %}Tableau de bord - {{ user.get_full_name }}{% endif %} + {% if request.current_organization %}{{ request.current_organization.display_name }}{% endif %} +

+ {% if request.current_organization %} +

+ {% 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 %} +
+ {% if user.is_employer %} + {% if request.current_organization.is_subject_to_eligibility_rules %} + {% comment %} + NOTE(vperron): + We currently do not allow OPCS users to apply for an offer. + We will have to discuss this matter further with AVE, but it has been + decided that it probably did not make much sense initially. + {% endcomment %} +
+ {% if siae_suspension_text_with_dates %} + + + Déclarer une embauche + + {% else %} + + + Déclarer une embauche + + {% endif %} +
+ {% endif %} + {% endif %} +
+{% endblock %} + +{% block content_title_after_alerts %} + {% endblock %} {% block content %}
-
+
-
- {% include "search/includes/siaes_search_form.html" with form=siae_search_form only %} -
-
-
- -
- {% if user.is_staff %} - {% include "dashboard/includes/admin_card.html" %} - {% endif %} - - {% if user.is_job_seeker %} - {% include "dashboard/includes/job_seeker_job_applications_card.html" %} - {% if user.latest_common_approval %} - {% include "dashboard/includes/job_seeker_approval_card.html" %} - {% endif %} - {% endif %} - {# end of if user.is_job_seeker #} +
+
+

Vue d’ensemble

+ +
+ {% if user.is_staff %} + {% include "dashboard/includes/admin_card.html" %} + {% endif %} - {% if user.is_prescriber %} - {% include "dashboard/includes/prescriber_job_applications_card.html" %} - {% if request.current_organization.is_authorized %} - {% include "dashboard/includes/prescriber_job_seekers_card.html" %} - {% endif %} - {% if request.current_organization %} - {% include "dashboard/includes/prescriber_organisation_card.html" %} - {% endif %} - {% endif %} - {# end of if user.is_prescriber #} - - {% if user.is_employer %} - {% include "dashboard/includes/siae_job_applications_card.html" %} - {% if request.current_organization.is_subject_to_eligibility_rules %} - {% include "dashboard/includes/siae_employees_card.html" %} - {% endif %} - {% include "dashboard/includes/siae_card.html" %} - {% if active_campaigns or evaluated_siae_notifications %} - {% include "dashboard/includes/siae_evaluation_campains_card.html" %} - {% endif %} - {% endif %} - {# end of if user.is_employer #} + {% if user.is_job_seeker %} + {% include "dashboard/includes/job_seeker_job_applications_card.html" %} + {% if user.latest_common_approval %} + {% include "dashboard/includes/job_seeker_approval_card.html" %} + {% endif %} + {% endif %} + {# end of if user.is_job_seeker #} - {% if user.is_labor_inspector %} - {% include "dashboard/includes/labor_inspector_organization_card.html" %} - {% endif %} - {# end of if user.is_labor_inspector #} - - {% if can_view_stats_ddets_iae and active_campaigns or can_view_stats_ddets_iae and closed_campaigns %} - {% include "dashboard/includes/labor_inspector_evaluation_campains_card.html" %} - {% endif %} -
+ {% if user.is_prescriber %} + {% include "dashboard/includes/prescriber_job_applications_card.html" %} + {% if request.current_organization.is_authorized %} + {% include "dashboard/includes/prescriber_job_seekers_card.html" %} + {% endif %} + {% if request.current_organization %} + {% include "dashboard/includes/prescriber_organisation_card.html" %} + {% endif %} + {% endif %} + {# end of if user.is_prescriber #} - {% if can_view_stats_dashboard_widget or user.is_employer or user.is_prescriber %} -

Services partenaires

-
- {% if can_view_stats_dashboard_widget %} - {% include "dashboard/includes/stats.html" %} - {% endif %} + {% if user.is_employer %} + {% include "dashboard/includes/siae_job_applications_card.html" %} + {% if request.current_organization.is_subject_to_eligibility_rules %} + {% include "dashboard/includes/siae_employees_card.html" %} + {% endif %} + {% include "dashboard/includes/siae_card.html" %} + {% if active_campaigns or evaluated_siae_notifications %} + {% include "dashboard/includes/siae_evaluation_campains_card.html" %} + {% endif %} + {% endif %} + {# end of if user.is_employer #} - {% if user.is_employer or user.is_prescriber %} - {% include "dashboard/includes/dora_card.html" with siret=request.current_organization.siret|default:"" tracker="mtm_campaign=LesEmplois&mtm_kwd=Dashboard" %} - {% include "dashboard/includes/diagoriente_card.html" with user=user only %} - {% endif %} -
- {% endif %} + {% if user.is_labor_inspector %} + {% include "dashboard/includes/labor_inspector_organization_card.html" %} + {% endif %} + {# end of if user.is_labor_inspector #} - {% if user.is_employer or user.is_prescriber %} -

Actualités

-
-
-
+ {% if can_view_stats_ddets_iae and active_campaigns or can_view_stats_ddets_iae and closed_campaigns %} + {% include "dashboard/includes/labor_inspector_evaluation_campains_card.html" %} + {% endif %} +
+ {% if can_view_stats_dashboard_widget or user.is_employer or user.is_prescriber %} +

Services partenaires

+
+ {% if user.is_employer or user.is_prescriber %} + {% include "dashboard/includes/dora_card.html" with siret=request.current_organization.siret|default:"" tracker="mtm_campaign=LesEmplois&mtm_kwd=Dashboard" %} + {% include "dashboard/includes/diagoriente_card.html" with user=user only %} + {% endif %} +
+ {% endif %}
+
+ {% if can_view_stats_dashboard_widget or user.is_employer or user.is_prescriber %} +

Statistiques

+
+ Le pilotage de l'inclusion +
+
+ {% if can_view_stats_dashboard_widget %} + {% include "dashboard/includes/stats.html" %} + {% endif %} +
+ {% endif %} +
+ {% if user.is_employer or user.is_prescriber %} +
+

Événements à venir

+
+
+
+
+
+ {% endif %}
- {% endif %} +
{% endblock %} + +{% block script %} + +{% endblock %} diff --git a/itou/templates/dashboard/includes/siae_employees_card.html b/itou/templates/dashboard/includes/siae_employees_card.html index 4e8855426e..1106a931ec 100644 --- a/itou/templates/dashboard/includes/siae_employees_card.html +++ b/itou/templates/dashboard/includes/siae_employees_card.html @@ -11,28 +11,6 @@ Gérer les salariés et PASS IAE