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
|
|
|
|
%span.big-number-card-title TOTAL PROCÉDURES DÉMATÉRIALISÉES
|
|
|
|
%span.big-number-card-number
|
|
|
|
= number_with_delimiter(@procedures_count)
|
|
|
|
|
|
|
|
.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
|
|
|
|
= number_with_delimiter(@dossiers_count)
|
2017-04-03 14:19:22 +02:00
|
|
|
|
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
|
|
|
|
%li.segmented-control-item.segmented-control-item-active{ :onclick => "TPS.toggleChart(event, '.monthly-procedures-chart');" }
|
|
|
|
Par mois
|
|
|
|
%li.segmented-control-item{ :onclick => "TPS.toggleChart(event, '.cumulative-procedures-chart');" }
|
|
|
|
Cumul
|
|
|
|
%span.stat-card-title.pull-left Procédures dématérialisées
|
|
|
|
.clearfix
|
2017-05-26 17:29:31 +02:00
|
|
|
|
|
|
|
.chart-container
|
2017-05-29 17:47:55 +02:00
|
|
|
.chart.monthly-procedures-chart
|
2017-05-26 17:29:31 +02:00
|
|
|
= column_chart @procedures_in_the_last_4_months,
|
|
|
|
:colors => ["rgba(61, 149, 236, 1)"]
|
2017-05-29 17:47:55 +02:00
|
|
|
.chart.cumulative-procedures-chart.hidden
|
2017-03-28 15:42:48 +02:00
|
|
|
= area_chart @procedures_cumulative,
|
|
|
|
:colors => ["rgba(61, 149, 236, 1)"]
|
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
|
|
|
|
%li.segmented-control-item.segmented-control-item-active{ :onclick => "TPS.toggleChart(event, '.monthly-dossiers-chart');" }
|
|
|
|
Par mois
|
|
|
|
%li.segmented-control-item{ :onclick => "TPS.toggleChart(event, '.cumulative-dossiers-chart');" }
|
|
|
|
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
|
|
|
|
= column_chart @dossiers_in_the_last_4_months,
|
|
|
|
:colors => ["rgba(61, 149, 236, 1)"]
|
|
|
|
.chart.cumulative-dossiers-chart.hidden
|
2017-03-28 15:42:48 +02:00
|
|
|
= area_chart @dossiers_cumulative,
|
|
|
|
:colors => ["rgba(61, 149, 236, 1)"]
|
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
|
|
|
|
Nombre d'administrations ayant dématérialisé N procédures
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
.chart
|
|
|
|
= pie_chart @procedures_count_per_administrateur,
|
|
|
|
:colors => ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
|
|
|
|
|
2017-05-29 17:37:05 +02:00
|
|
|
- if administration_signed_in?
|
|
|
|
- cache "computation-heavy-stats", :expires_in => 1.day do
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
%span.stat-card-title Temps de traitement moyen d'un dossier
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
.chart
|
|
|
|
= line_chart @dossier_instruction_mean_time,
|
|
|
|
:ytitle => "Jours",
|
|
|
|
:colors => ["rgba(61, 149, 236, 1)"]
|
|
|
|
|
|
|
|
.stat-card.stat-card-half.pull-left
|
|
|
|
%span.stat-card-title Temps de remplissage moyen d'un dossier
|
|
|
|
|
|
|
|
.chart-container
|
|
|
|
.chart
|
|
|
|
= line_chart @dossier_filling_mean_time,
|
|
|
|
:ytitle => "Minutes",
|
|
|
|
:colors => ["rgba(61, 149, 236, 1)"]
|
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'
|
|
|
|
|
|
|
|
.clearfix
|