style: cleanup stats.scss
This commit is contained in:
parent
c288d340d8
commit
2252064259
4 changed files with 11 additions and 20 deletions
|
@ -1,12 +1,3 @@
|
||||||
.new-h1 {
|
|
||||||
margin-bottom: 3.75rem;
|
|
||||||
font-size: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chart-container {
|
|
||||||
margin-top: 36px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chart {
|
.chart {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
%h2.fr-callout__title= t('.processing_time')
|
%h2.fr-callout__title= t('.processing_time')
|
||||||
%p.fr-callout__text.fr-text--md= t('.since_procedure_creation')
|
%p.fr-callout__text.fr-text--md= t('.since_procedure_creation')
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart-procedures-chart{ data: { 'chartkick-target': 'chart' }}
|
.chart-procedures-chart{ data: { 'chartkick-target': 'chart' } }
|
||||||
= column_chart @usual_traitement_time_by_month,
|
= column_chart @usual_traitement_time_by_month,
|
||||||
library: Chartkick.options[:default_library_config],
|
library: Chartkick.options[:default_library_config],
|
||||||
ytitle: t('.nb_days'), legend: "bottom", label: t('.processing_time_graph_description')
|
ytitle: t('.nb_days'), legend: "bottom", label: t('.processing_time_graph_description')
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
%h2.fr-callout__title= t('.status_evolution')
|
%h2.fr-callout__title= t('.status_evolution')
|
||||||
%p.fr-callout__text.fr-text--md= t('.status_evolution_details')
|
%p.fr-callout__text.fr-text--md= t('.status_evolution_details')
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart
|
.chart
|
||||||
= area_chart @dossiers_funnel,
|
= area_chart @dossiers_funnel,
|
||||||
library: Chartkick.options[:default_library_config],
|
library: Chartkick.options[:default_library_config],
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
%h2.fr-callout__title= t('.acceptance_rate')
|
%h2.fr-callout__title= t('.acceptance_rate')
|
||||||
%p.fr-callout__text.fr-text--md= t('.acceptance_rate_details')
|
%p.fr-callout__text.fr-text--md= t('.acceptance_rate_details')
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart
|
.chart
|
||||||
= pie_chart @termines_states,
|
= pie_chart @termines_states,
|
||||||
library: Chartkick.options[:default_library_config],
|
library: Chartkick.options[:default_library_config],
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
%h2.fr-callout__title= t('.weekly_distribution')
|
%h2.fr-callout__title= t('.weekly_distribution')
|
||||||
%p.fr-callout__text.fr-text--md= t('.weekly_distribution_details')
|
%p.fr-callout__text.fr-text--md= t('.weekly_distribution_details')
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart
|
.chart
|
||||||
= line_chart @termines_by_week,
|
= line_chart @termines_by_week,
|
||||||
library: Chartkick.options[:default_library_config],
|
library: Chartkick.options[:default_library_config],
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
%label.fr-label{ for: "segmented-procedures-2" }
|
%label.fr-label{ for: "segmented-procedures-2" }
|
||||||
Cumul
|
Cumul
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart.monthly-procedures-chart{ data: { 'chartkick-target': 'chart' }}
|
.chart.monthly-procedures-chart{ data: { 'chartkick-target': 'chart' } }
|
||||||
= column_chart @procedures_in_the_last_4_months, library: Chartkick.options[:default_library_config]
|
= column_chart @procedures_in_the_last_4_months, library: Chartkick.options[:default_library_config]
|
||||||
.chart.cumulative-procedures-chart.hidden{ data: { 'chartkick-target': 'chart' } }
|
.chart.cumulative-procedures-chart.hidden{ data: { 'chartkick-target': 'chart' } }
|
||||||
= area_chart @procedures_cumulative, library: Chartkick.options[:default_library_config]
|
= area_chart @procedures_cumulative, library: Chartkick.options[:default_library_config]
|
||||||
|
@ -55,8 +55,8 @@
|
||||||
Cumul
|
Cumul
|
||||||
|
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart.monthly-dossiers-chart{ data: { 'chartkick-target': 'chart' }}
|
.chart.monthly-dossiers-chart{ data: { 'chartkick-target': 'chart' } }
|
||||||
= column_chart @dossiers_in_the_last_4_months, library: Chartkick.options[:default_library_config]
|
= column_chart @dossiers_in_the_last_4_months, library: Chartkick.options[:default_library_config]
|
||||||
.chart.cumulative-dossiers-chart.hidden{ data: { 'chartkick-target': 'chart' } }
|
.chart.cumulative-dossiers-chart.hidden{ data: { 'chartkick-target': 'chart' } }
|
||||||
= area_chart @dossiers_cumulative, library: Chartkick.options[:default_library_config]
|
= area_chart @dossiers_cumulative, library: Chartkick.options[:default_library_config]
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
.fr-callout
|
.fr-callout
|
||||||
%h2.fr-callout__title Répartition des dossiers
|
%h2.fr-callout__title Répartition des dossiers
|
||||||
|
|
||||||
.chart-container
|
.fr-mt-4w
|
||||||
.chart
|
.chart
|
||||||
= pie_chart @dossiers_states_for_pie, library: Chartkick.options[:default_library_config],
|
= pie_chart @dossiers_states_for_pie, library: Chartkick.options[:default_library_config],
|
||||||
colors: ["#000091", "#7F7FC8", "#9A9AFF", "#00006D"]
|
colors: ["#000091", "#7F7FC8", "#9A9AFF", "#00006D"]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#contact-form
|
#contact-form
|
||||||
.container
|
.container
|
||||||
%h1.new-h1
|
%h1
|
||||||
= t('.contact_team')
|
= t('.contact_team')
|
||||||
|
|
||||||
.description
|
.description
|
||||||
|
|
Loading…
Reference in a new issue