add syntaxe erreur
This commit is contained in:
parent
28ab29d2b9
commit
8feb56141c
@ -153,6 +153,11 @@
|
|||||||
<button type="button" class="btn-close" aria-label="Close"></button>
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="alert alert-danger alert-dismissible hidden" id="syntaxAlert" role="alert">
|
||||||
|
<div>Erreur d'entrée dans le formulaire</div>
|
||||||
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="alert alert-danger alert-dismissible hidden" id="unknownAlert" role="alert">
|
<div class="alert alert-danger alert-dismissible hidden" id="unknownAlert" role="alert">
|
||||||
<div>Erreur inconnue</div>
|
<div>Erreur inconnue</div>
|
||||||
<button type="button" class="btn-close" aria-label="Close"></button>
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
||||||
|
@ -79,6 +79,9 @@ document.getElementById("addUser").addEventListener("click", function(){
|
|||||||
case 403:
|
case 403:
|
||||||
idAlert="forbidden";
|
idAlert="forbidden";
|
||||||
break;
|
break;
|
||||||
|
case 403:
|
||||||
|
idAlert="syntaxe";
|
||||||
|
break;
|
||||||
case 500:
|
case 500:
|
||||||
idAlert="internalServer";
|
idAlert="internalServer";
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user