This commit is contained in:
70
SDIS29/web/WEB-INF/nouveauJSP.jsp
Normal file
70
SDIS29/web/WEB-INF/nouveauJSP.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@include file = "jspf/enteteJSPF.jspf" %>
|
||||
<h2>Cr<43>ation d'un nouveau Pompier</h2><!-- comment -->
|
||||
<!-- <p>Page en cours de construction</p><!-- comment -->
|
||||
<img src="images/pageEnConstruction.jpg" alt="Page en construction"/>
|
||||
<fieldset>
|
||||
<legend>Fiche Pompier</legend>
|
||||
<form name="fPompier" action="NouveauPompier" method="POST">
|
||||
|
||||
|
||||
<label for="ztPrenom"> Pr<50>nom </label>
|
||||
<input type="text" name="ztPrenom" id="ztPrenom" value="" />
|
||||
<label for="ztNom">Nom </label>
|
||||
<input type="text" name="ztNom" id="ztNom" value="" />
|
||||
<label for="ztPwd">Mot de passe </label>
|
||||
<input type="password" name="ztPwd" id="ztPwd" value="" />
|
||||
<label for="ztLogin">Login </label>
|
||||
<input type="text" name="ztLogin" id="ztLogin" value="" /><br><br>
|
||||
Adresse postale :
|
||||
<input type="text" name="ztAdresse" value="" placeholder="Adresse"/>
|
||||
<input type="text" name="ztCP" value="" placeholder="Code postal"/>
|
||||
<input type="text" name="ztVille" value="" placeholder="Ville"/><br><br>
|
||||
<label for="ztMail">Adresse mail </label>
|
||||
<input type="email" name="ztMail" id="ztMail" value="" />
|
||||
<label for="ztTel">T<>l<EFBFBD>phone </label>
|
||||
<input type="text" name="ztTel" id="ztTel" value="" />
|
||||
<label for="ztDateNais">Date de naissance </label>
|
||||
<input type="date" min="1921-01-01" name="ztDateNais" id="ztDateNais" value="" />
|
||||
<br><br><!-- comment -->
|
||||
Information Pompier:
|
||||
<input type="text" name="ztStatut" value="" placeholder="Statut"/>
|
||||
<input type="text" name="ztTypePersonne" value="" placeholder="Type personne"/>
|
||||
<input type="text" name="ztGrade" value="" placeholder="Grade"/>
|
||||
<input type="text" name="ztIdEquipe" value="" placeholder="Equipe"/><br>
|
||||
<label for="ztNbGarde"> Nombre de garde</label>
|
||||
<form oninput="result.value=parseInt(NbGarde.value)">
|
||||
<input type="range" name="NbGarde" value="50" />
|
||||
<output name="result">60</output>
|
||||
</form>
|
||||
|
||||
<output ><br><br>
|
||||
|
||||
<input type="submit" value="Valider" />
|
||||
</form>
|
||||
</fieldset>
|
||||
<br>
|
||||
|
||||
<p>
|
||||
<c:choose>
|
||||
<c:when test="${idPompier >= 0}">
|
||||
Le Pompier no ${id} a <20>t<EFBFBD> cr<63><72> avec succ<63>s
|
||||
</c:when>
|
||||
<c:when test="${idClient == -1}">
|
||||
E R R E U R : ${message}
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
Cliquez sur <em>"Valider"</em> apr<70>s avoir renseign<67> les informations demand<6E>es
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</p>
|
||||
|
||||
<%@include file="jspf/menuJSPF.jspf" %>
|
||||
<article>
|
||||
<h3>Liste des num<75>ros des clients r<>cement cr<63><72>s : </h3>
|
||||
<c:forEach items="${sessionScope.lesNvxClients}" var="unPompier">
|
||||
${unClient} -
|
||||
</c:forEach>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user