Skip to content

Commit

Permalink
feat: merge stats & stats-graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Nov 23, 2021
1 parent 525708b commit cec3671
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion config-yml/commons/footer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ bottomMenuList:
- name: Accessibilité
slug: accessibilite

copyright: © République Française 2020
copyright: © République Française 2021
37 changes: 0 additions & 37 deletions config-yml/modules/stats-graph.yml

This file was deleted.

65 changes: 51 additions & 14 deletions config-yml/modules/stats.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,52 @@
display: true
title: Les stats
#Placer les icones dans le dossier public/assets/imgs/icons
stats:
- title: KPI 1
value: 1000
icon_name: trending-up.svg

- title: KPI 2
value: 2000
icon_name: target.svg

- title: KPI 3
value: 3000
icon_name: award.svg
home:
title: Les stats
#Placer les icones dans le dossier public/assets/imgs/icons
stats:
- title: KPI 1
value: 1000
icon_name: trending-up.svg

- title: KPI 2
value: 2000
icon_name: target.svg

- title: KPI 3
value: 3000
icon_name: award.svg
page:
title: Statistiques
chartWidth: 700
chartHeight: 350
kpis:
- titre: Lorem ipsum
name: Connexions par jour
affichage: graph
type: lineChart
valeurs:
2021-05-21: 10
2021-06-22: 40
2021-08-29: 10
2021-10-30: 150

- titre: Lorem ipsum
name: Téléchargements par jour
affichage: graph
type: barChart
valeurs:
2021-06-21: 39
2021-06-22: 45
2021-06-23: 51

- titre: Lorem ipsum
name: Visites par jour
affichage: graph
type: barChart
valeurs:
2021-06-21: 43
2021-06-22: 10
2021-06-23: 6

- titre: Temps moyen sur l'app
affichage: chiffre_cle
valeur: 4min02

0 comments on commit cec3671

Please sign in to comment.