reprise directement sur la base de la correction
This commit is contained in:
16
web/WEB-INF/jspf/debutJSP.jspf
Normal file
16
web/WEB-INF/jspf/debutJSP.jspf
Normal file
@@ -0,0 +1,16 @@
|
||||
<%-- jspf/debutJSP.jsp --%>
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.6.1/font/bootstrap-icons.css">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
||||
<link href="css/mycss.css" rel="stylesheet" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
|
||||
<title>SDIS29</title>
|
||||
</head>
|
5
web/WEB-INF/jspf/footer.jspf
Normal file
5
web/WEB-INF/jspf/footer.jspf
Normal file
@@ -0,0 +1,5 @@
|
||||
<%-- jspf/footer.jspf --%>
|
||||
<%@ page pageEncoding="UTF-8" %>
|
||||
<footer>
|
||||
<p>SDIS 29 - 58, avenue de Keradennec - 29337 QUIMPER CEDEX - 02 98 10 31 50</p>
|
||||
</footer>
|
21
web/WEB-INF/jspf/formChoixPompier.jspf
Normal file
21
web/WEB-INF/jspf/formChoixPompier.jspf
Normal file
@@ -0,0 +1,21 @@
|
||||
<%-- any content can be specified here e.g.: --%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ page pageEncoding="UTF-8" %>
|
||||
|
||||
<form action="pompier" method="POST" id="fChoixPompier" name="fChoixPompier">
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<label for="ldrPompier">Choix du pompier : </label>
|
||||
ici se trouvera la liste déroulante des pompiers
|
||||
</div>
|
||||
<div class="col-md-3" id="btAfficherPompier" name="btAfficherPompier">
|
||||
<!--<input class="btn btn-danger" name="btAfficherPompier" type="submit" value="Afficher" /> -->
|
||||
<button class="btn btn-danger" name="btAfficherPompier" value="Afficher" type="submit"><i class="bi bi-eye-fill"></i> Afficher</button>
|
||||
<button class="btn btn-danger ms-5" name="btAfficherPompier" value="Ajouter" type="submit"> <i class="bi bi-plus-lg"></i> Ajouter</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
8
web/WEB-INF/jspf/formulairePompier.jspf
Normal file
8
web/WEB-INF/jspf/formulairePompier.jspf
Normal file
@@ -0,0 +1,8 @@
|
||||
<%@ page pageEncoding="UTF-8" %>
|
||||
<form>
|
||||
<img src="images/pompier.png"<br>
|
||||
<input type="text" id="ztNom" name="nom" value="${sessionScope.lePompierConnecte.getNom()}" readonly>
|
||||
<input type="text" id="ztPrenom" name="prenom" value="${sessionScope.lePompierConnecte.getPrenom()}" readonly><br>
|
||||
<input type="text" id="ztAdresse" name="adresse" value="${sessionScope.lePompierConnecte.getAdresse()}" readonly><br>
|
||||
<input type="text" id="ztGrade" name="grade" value="${sessionScope.lePompierConnecte.getLeGrade().getValeur()}" readonly>
|
||||
</form>
|
45
web/WEB-INF/jspf/header.jspf
Normal file
45
web/WEB-INF/jspf/header.jspf
Normal file
@@ -0,0 +1,45 @@
|
||||
<%-- jspf/header.jspf --%>
|
||||
<%@ page pageEncoding="UTF-8" %>
|
||||
<c:set var="blancs8" value=" " scope="page" />
|
||||
<header>
|
||||
<div class="container" id="entete">
|
||||
|
||||
<img id="logo" src="images/logo-sdis.png" alt='logo sdis29' />
|
||||
<div id="identite">
|
||||
<div id="login">
|
||||
<c:choose>
|
||||
<c:when test="${empty sessionScope.lePompierConnecte}">
|
||||
<h4>Bienvenue</h4>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<h4>Bienvenue ${sessionScope.lePompierConnecte.getNom()} ${sessionScope.lePompierConnecte.getPrenom()}
|
||||
</h4>
|
||||
|
||||
<button type="button" class="btn btn-warning fs-4" title="Déconnexion">
|
||||
<a href="authentification">
|
||||
<i class="bi bi-box-arrow-right heading" width="32" height="32" fill="currentColor"></i> Déconnexion
|
||||
</a>
|
||||
</button>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<h4>Service Départemental d'Incendie et de Secours du Finistère</h4>
|
||||
|
||||
Afficher ici les coordonnées de la caserne du pompier connecté
|
||||
|
||||
<nav class="navbar navbar-expand-sm bg-danger navbar-dark">
|
||||
<div class="container-fluid">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<span class="nav-link"><pre>${blancs8}</pre> </span>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
Barre de navigation ici
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
</div> <!-- fin id=identie -->
|
||||
</div> <!-- fin class=container -->
|
||||
</header>
|
Reference in New Issue
Block a user