Replace <ul> by <dl> on landing pages
This commit is contained in:
parent
900d17d269
commit
229c48de7b
3 changed files with 21 additions and 20 deletions
|
@ -152,6 +152,7 @@ $landing-breakpoint: 1040px;
|
|||
.number-label {
|
||||
max-width: 10rem;
|
||||
margin: auto;
|
||||
padding-inline-start: 0;
|
||||
font-weight: 600;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.5rem;
|
||||
|
|
|
@ -74,25 +74,25 @@
|
|||
.fr-py-6w.fr-background-alt--blue-france
|
||||
.container
|
||||
%h2.center.fr-mb-4w #{Current.application_name} en chiffres
|
||||
%ul.numbers
|
||||
%li.number
|
||||
.number-value
|
||||
%dl.numbers
|
||||
.number
|
||||
%dt.number-value
|
||||
= number_with_delimiter(Administrateur.with_publiees_ou_closes.uniq.count, :locale => :fr)
|
||||
.number-label<
|
||||
%dd.number-label<
|
||||
administrations
|
||||
%br<>
|
||||
partenaires
|
||||
%li.number
|
||||
.number-value
|
||||
.number
|
||||
%dt.number-value
|
||||
= number_with_delimiter(Dossier.state_not_brouillon.count, :locale => :fr)
|
||||
.number-label<
|
||||
%dd.number-label<
|
||||
dossiers
|
||||
%br<>
|
||||
déposés
|
||||
%li.number
|
||||
.number-value
|
||||
.number
|
||||
%dt.number-value
|
||||
= "#{number_with_delimiter(50, :locale => :fr)} %"
|
||||
.number-label<
|
||||
%dd.number-label<
|
||||
de réduction
|
||||
%br<>
|
||||
des délais de traitement
|
||||
|
|
|
@ -30,19 +30,19 @@
|
|||
.container
|
||||
%h2.center.fr-mb-4w= t(".our_numbers", name: Current.application_name)
|
||||
- cache [I18n.locale, "numbers-panel"], expires_in: 3.hours do
|
||||
%ul.numbers
|
||||
%li.number
|
||||
.number-value
|
||||
%dl.numbers
|
||||
.number
|
||||
%dt.number-value
|
||||
= number_with_delimiter(@stat&.administrations_partenaires)
|
||||
.number-label= t(".numbers.administrations")
|
||||
%li.number
|
||||
.number-value
|
||||
%dd.number-label= t(".numbers.administrations")
|
||||
.number
|
||||
%dt.number-value
|
||||
= number_with_delimiter(@stat&.dossiers_not_brouillon)
|
||||
.number-label= t(".numbers.files")
|
||||
%li.number
|
||||
.number-value
|
||||
%dd.number-label= t(".numbers.files")
|
||||
.number
|
||||
%dt.number-value
|
||||
= "#{number_with_delimiter(50)} %"
|
||||
.number-label.number-label-third= t(".numbers.processing_time")
|
||||
%dd.number-label.number-label-third= t(".numbers.processing_time")
|
||||
|
||||
.fr-background-alt--blue-france.fr-py-6w
|
||||
.container
|
||||
|
|
Loading…
Reference in a new issue