Souhaitez-vous ajouter votre question ?
diff --git a/Source/Views/HTML/adminLogin.php b/Source/Views/HTML/adminLogin.php
index 783a4c8..87000c3 100644
--- a/Source/Views/HTML/adminLogin.php
+++ b/Source/Views/HTML/adminLogin.php
@@ -14,7 +14,7 @@
-

" class="logo" alt="logo">
+

" class="logo" alt="logo" height="auto" width="auto">
diff --git a/Source/Views/HTML/form.php b/Source/Views/HTML/form.php
index 4821d42..21355cc 100644
--- a/Source/Views/HTML/form.php
+++ b/Source/Views/HTML/form.php
@@ -6,8 +6,8 @@
global $jQueryMin, $bundle4, $bundle5;
?>
- " />
- " />
+
+
@@ -40,8 +40,8 @@
-
-
+
+
diff --git a/Source/Views/JS/scripts.js b/Source/Views/JS/scripts.js
index 5329fc1..379c9b3 100644
--- a/Source/Views/JS/scripts.js
+++ b/Source/Views/JS/scripts.js
@@ -7,14 +7,14 @@ document.addEventListener("DOMContentLoaded", function(event) {
});
function showTab(n) {
- var x = document.getElementsByClassName("tab");
+ const x = document.getElementsByClassName("tab");
x[n].style.display = "block";
- if (n == 0) {
+ if (n === 0) {
document.getElementById("prevBtn").style.display = "none";
} else {
document.getElementById("prevBtn").style.display = "inline";
}
- if (n == (x.length - 1)) {
+ if (n === (x.length - 1)) {
document.getElementById("nextBtn").innerHTML = '';
} else {
document.getElementById("nextBtn").innerHTML = '';
@@ -23,8 +23,8 @@ function showTab(n) {
}
function nextPrev(n) {
- var x = document.getElementsByClassName("tab");
- if (n == 1 && !validateForm()) return false;
+ const x = document.getElementsByClassName("tab");
+ if (n === 1 && !validateForm()) return false;
x[currentTab].style.display = "none";
currentTab = currentTab + n;
if (currentTab >= x.length) {
@@ -42,11 +42,11 @@ function nextPrev(n) {
}
function validateForm() {
- var x, y, i, valid = true;
+ let x, y, i, valid = true;
x = document.getElementsByClassName("tab");
y = x[currentTab].getElementsByTagName("input");
for (i = 0; i < y.length; i++) {
- if (y[i].value == "") {
+ if (y[i].value === "") {
y[i].className += " invalid";
valid = false;
}
@@ -60,7 +60,7 @@ function validateForm() {
}
function fixStepIndicator(n) {
- var i, x = document.getElementsByClassName("step");
+ let i, x = document.getElementsByClassName("step");
for (i = 0; i < x.length; i++) {
x[i].className = x[i].className.replace(" active", "");
}