diff --git a/frontend/index.html b/frontend/index.html index fe0b47a..5050f0e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -134,6 +134,22 @@ + +
+

Administration

+
+ + +
+ +
+
diff --git a/frontend/js/app.js b/frontend/js/app.js index afd18e4..02d2765 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js @@ -152,14 +152,18 @@ function validerMdpAdmin() { const input = document.getElementById('input-mdp-admin'); if (input.value === MDP_ADMIN) { fermerPopupMdp(); - allerA('wizard'); - wizardInit(); + allerA('admin-choix'); } else { document.getElementById('mdp-erreur').classList.remove('cache'); input.value = ''; } } +function ouvrirWizard() { + allerA('wizard'); + wizardInit(); +} + // Valider avec Entree document.addEventListener('keydown', (e) => { if (e.key === 'Enter' && !document.getElementById('popup-mdp').classList.contains('cache')) {