diff --git a/elections/templates/elections/election_update.html b/elections/templates/elections/election_update.html index 21a56b2..c27aca3 100644 --- a/elections/templates/elections/election_update.html +++ b/elections/templates/elections/election_update.html @@ -8,9 +8,14 @@ diff --git a/shared/static/vendor/datetimepicker/picker.js b/shared/static/vendor/datetimepicker/picker.js index f61bab3..3c55b2d 100644 --- a/shared/static/vendor/datetimepicker/picker.js +++ b/shared/static/vendor/datetimepicker/picker.js @@ -7,6 +7,14 @@ const _months = { 'fr': ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'], 'en': ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], } +const _horaire = { + 'fr': 'Horaire :', + 'en': 'Time:', +}; +const _valider = { + 'fr': 'Valider', + 'en': 'Validate', +}; const formatDT_1 = /(?\d{2})\/(?\d{2})\/(?\d{4}) (?\d{2}):(?\d{2})(:\d\d)?/; const formatDT_2 = /(?\d{4})-(?\d{2})-(?\d{2}) (?\d{2}):(?\d{2})(:\d\d)?/; @@ -60,7 +68,7 @@ class DateTimePicker { // Création du modal this.modal = document.createElement('div'); this.modal.classList.add('modal'); - this.modal.innerHTML = ``; + this.modal.innerHTML = ``; let _controls = this.modal.querySelectorAll('header a.button'); this._leftArrow = _controls[0]; this._menu = _controls[1];