2018-03-06 15:54:18 +01:00
|
|
|
|
- content_for(:title, 'Statistiques')
|
|
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
|
.statistiques
|
|
|
|
|
|
|
|
|
|
%h1.new-h1 Statistiques
|
|
|
|
|
|
|
|
|
|
.stat-cards
|
2017-05-29 17:16:26 +02:00
|
|
|
|
.stat-card.stat-card-half.big-number-card.pull-left
|
2018-09-05 14:31:19 +02:00
|
|
|
|
%span.big-number-card-title.long-title TOTAL DÉMARCHES DÉMAT. OU EN COURS DE DÉMAT.
|
2017-05-29 17:16:26 +02:00
|
|
|
|
%span.big-number-card-number
|
2018-08-29 14:54:06 +02:00
|
|
|
|
= number_with_delimiter(@procedures_numbers[:total])
|
|
|
|
|
%span.big-number-card-detail
|
|
|
|
|
#{number_with_delimiter(@procedures_numbers[:last_30_days_count])} (#{@procedures_numbers[:evolution]} %) sur les 30 derniers jours
|
2017-05-29 17:16:26 +02:00
|
|
|
|
|
|
|
|
|
.stat-card.stat-card-half.big-number-card.pull-left
|
|
|
|
|
%span.big-number-card-title TOTAL DOSSIERS DÉPOSÉS
|
|
|
|
|
%span.big-number-card-number
|
2018-08-29 14:54:06 +02:00
|
|
|
|
= number_with_delimiter(@dossiers_numbers[:total])
|
|
|
|
|
%span.big-number-card-detail
|
|
|
|
|
#{number_with_delimiter(@dossiers_numbers[:last_30_days_count])} (#{@dossiers_numbers[:evolution]} %) sur les 30 derniers jours
|
2017-04-03 14:19:22 +02:00
|
|
|
|
|
2018-08-24 17:57:04 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title
|
|
|
|
|
Satisfaction usager
|
|
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
|
.chart
|
2019-01-28 15:16:41 +01:00
|
|
|
|
= area_chart @satisfaction_usagers,
|
|
|
|
|
stacked: true,
|
2019-01-28 15:17:06 +01:00
|
|
|
|
suffix: ' %',
|
2019-01-28 15:16:41 +01:00
|
|
|
|
max: 100,
|
2019-01-28 19:04:29 +01:00
|
|
|
|
library: { plotOptions: { series: { marker: { enabled: true }}}},
|
|
|
|
|
colors: ["#C31C25", "#F5962A", "#25B177"]
|
2018-08-24 17:57:04 +02:00
|
|
|
|
|
2018-12-18 10:35:23 +01:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title
|
|
|
|
|
Pourcentage de contact usagers
|
|
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
|
.chart
|
|
|
|
|
= line_chart @contact_percentage
|
|
|
|
|
|
|
|
|
|
.stat-card-details
|
|
|
|
|
%abbr{ title: "À l’exception des conversations taggées #{@contact_percentage_excluded_tags.join(', ')}" }
|
|
|
|
|
Nombre de conversations actives dans HelpScout
|
|
|
|
|
%span / nombre de dossiers déposés
|
|
|
|
|
|
2018-08-24 17:10:27 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title
|
|
|
|
|
Répartition des dossiers
|
|
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
|
.chart
|
|
|
|
|
= pie_chart @dossiers_states,
|
|
|
|
|
colors: ["rgba(222, 238, 265, 1)", "rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
|
|
|
|
|
|
2017-05-26 17:29:31 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
2017-05-29 17:47:55 +02:00
|
|
|
|
%ul.segmented-control.pull-right
|
2018-02-28 16:07:52 +01:00
|
|
|
|
%li.segmented-control-item.segmented-control-item-active{ :onclick => "DS.toggleChart(event, '.monthly-procedures-chart');" }
|
2017-05-29 17:47:55 +02:00
|
|
|
|
Par mois
|
2018-02-28 16:07:52 +01:00
|
|
|
|
%li.segmented-control-item{ :onclick => "DS.toggleChart(event, '.cumulative-procedures-chart');" }
|
2017-05-29 17:47:55 +02:00
|
|
|
|
Cumul
|
2018-09-05 14:21:48 +02:00
|
|
|
|
%span.stat-card-title.pull-left Démarches dématérialisées
|
2017-05-29 17:47:55 +02:00
|
|
|
|
.clearfix
|
2017-05-26 17:29:31 +02:00
|
|
|
|
|
|
|
|
|
.chart-container
|
2017-05-29 17:47:55 +02:00
|
|
|
|
.chart.monthly-procedures-chart
|
2017-06-07 14:53:10 +02:00
|
|
|
|
= column_chart @procedures_in_the_last_4_months
|
2017-05-29 17:47:55 +02:00
|
|
|
|
.chart.cumulative-procedures-chart.hidden
|
2017-06-07 14:53:10 +02:00
|
|
|
|
= area_chart @procedures_cumulative
|
2017-04-03 14:19:22 +02:00
|
|
|
|
|
2017-05-22 16:56:09 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
2017-05-29 17:47:55 +02:00
|
|
|
|
%ul.segmented-control.pull-right
|
2018-02-28 16:07:52 +01:00
|
|
|
|
%li.segmented-control-item.segmented-control-item-active{ :onclick => "DS.toggleChart(event, '.monthly-dossiers-chart');" }
|
2017-05-29 17:47:55 +02:00
|
|
|
|
Par mois
|
2018-02-28 16:07:52 +01:00
|
|
|
|
%li.segmented-control-item{ :onclick => "DS.toggleChart(event, '.cumulative-dossiers-chart');" }
|
2017-05-29 17:47:55 +02:00
|
|
|
|
Cumul
|
|
|
|
|
%span.stat-card-title.pull-left Dossiers déposés
|
|
|
|
|
.clearfix
|
2017-03-28 15:42:48 +02:00
|
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
|
.chart-container
|
2017-05-29 17:47:55 +02:00
|
|
|
|
.chart.monthly-dossiers-chart
|
2017-06-07 14:53:10 +02:00
|
|
|
|
= column_chart @dossiers_in_the_last_4_months
|
2017-05-29 17:47:55 +02:00
|
|
|
|
.chart.cumulative-dossiers-chart.hidden
|
2017-06-07 14:53:10 +02:00
|
|
|
|
= area_chart @dossiers_cumulative
|
2017-04-03 14:19:22 +02:00
|
|
|
|
|
2017-05-30 15:11:18 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title
|
2018-09-05 14:21:48 +02:00
|
|
|
|
Nombre d'administrations ayant dématérialisé N démarches
|
2017-05-30 15:11:18 +02:00
|
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
|
.chart
|
2017-06-12 15:06:19 +02:00
|
|
|
|
= pie_chart @procedures_count_per_administrateur,
|
|
|
|
|
colors: ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
|
2017-05-30 15:11:18 +02:00
|
|
|
|
|
2017-05-29 17:37:05 +02:00
|
|
|
|
- if administration_signed_in?
|
2017-06-01 09:44:22 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Temps de traitement moyen d'un dossier
|
2017-05-29 17:37:05 +02:00
|
|
|
|
|
2017-06-01 09:44:22 +02:00
|
|
|
|
.chart-container
|
|
|
|
|
.chart
|
|
|
|
|
= line_chart @dossier_instruction_mean_time,
|
2017-06-07 14:53:10 +02:00
|
|
|
|
:ytitle => "Jours"
|
2017-05-29 17:37:05 +02:00
|
|
|
|
|
2017-06-01 09:44:22 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Temps de remplissage moyen d'un dossier
|
2017-05-29 17:37:05 +02:00
|
|
|
|
|
2017-06-01 09:44:22 +02:00
|
|
|
|
.chart-container
|
|
|
|
|
.chart
|
|
|
|
|
= line_chart @dossier_filling_mean_time,
|
2017-06-07 14:53:10 +02:00
|
|
|
|
:ytitle => "Minutes"
|
2017-05-26 17:27:23 +02:00
|
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
|
.clearfix
|
2017-05-09 17:09:35 +02:00
|
|
|
|
|
|
|
|
|
- if administration_signed_in?
|
|
|
|
|
%h2.new-h2 Avis
|
|
|
|
|
|
|
|
|
|
.stat-cards
|
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Taux d'utilisation des avis
|
|
|
|
|
= line_chart @avis_usage, ytitle: 'dossiers avec avis / total dossiers', xtitle: 'semaines'
|
|
|
|
|
|
2017-05-09 18:11:58 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Temps de réponse moyen par avis
|
|
|
|
|
= line_chart @avis_average_answer_time, ytitle: 'jours', xtitle: 'semaines'
|
|
|
|
|
|
2017-05-10 11:07:38 +02:00
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Pourcentage d'avis rempli
|
2017-06-01 09:44:22 +02:00
|
|
|
|
= line_chart @avis_answer_percentages, ytitle: 'avis avec réponse / total avis', xtitle: 'semaines'
|
2017-05-10 11:07:38 +02:00
|
|
|
|
|
2017-05-09 17:09:35 +02:00
|
|
|
|
.clearfix
|
2017-06-15 14:42:48 +02:00
|
|
|
|
|
|
|
|
|
%h2.new-h2 Encart motivation
|
|
|
|
|
|
|
|
|
|
.stat-cards
|
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Taux d'utilisation des motivations (par dossier)
|
|
|
|
|
= column_chart @motivation_usage_dossier, ytitle: 'dossiers avec motivation / total dossiers', xtitle: 'semaines'
|
|
|
|
|
|
|
|
|
|
.stat-card.stat-card-half.pull-left
|
2018-09-05 14:21:48 +02:00
|
|
|
|
%span.stat-card-title Taux d'utilisation des motivations (par démarche)
|
|
|
|
|
= column_chart @motivation_usage_procedure, ytitle: 'démarches avec motivation / total démarches', xtitle: 'semaines'
|
2017-06-15 14:42:48 +02:00
|
|
|
|
|
|
|
|
|
.clearfix
|
2018-04-12 18:36:09 +02:00
|
|
|
|
|
|
|
|
|
%h2.new-h2 Utilisation de la bibliothèque
|
|
|
|
|
|
|
|
|
|
.stat-cards
|
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
|
%span.stat-card-title Taux d'utilisation de la bibliothèque
|
2018-09-05 14:22:16 +02:00
|
|
|
|
= column_chart @cloned_from_library_procedures_ratio, ytitle: 'démarches clonées / total démarches', xtitle: 'semaines'
|
2018-04-12 18:36:09 +02:00
|
|
|
|
|
|
|
|
|
.clearfix
|
2018-08-13 14:46:22 +02:00
|
|
|
|
|
|
|
|
|
%h2.new-h2 Téléchargement
|
|
|
|
|
|
|
|
|
|
= link_to "Télécharger les statistiques (CSV)", stats_download_path(format: :csv), class: 'button secondary'
|