Merge origin/master
Conflicts: src/java/bdd/gardeMySQL.java src/java/servlet/PompierServlet.java web/WEB-INF/feuilleGardes.jsp
This commit is contained in:
		@@ -3,20 +3,9 @@
 | 
			
		||||
    Created on : 6 déc. 2021, 15:07:45
 | 
			
		||||
    Author     : funcha.ahamadi
 | 
			
		||||
--%>
 | 
			
		||||
 | 
			
		||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
 | 
			
		||||
<legend>
 | 
			
		||||
    Feuille de gardes
 | 
			
		||||
</legend>
 | 
			
		||||
<form action="gardes" method="POST">
 | 
			
		||||
    <table class="table">
 | 
			
		||||
        <thead>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <th rowspan="2">N° de BIP</th>
 | 
			
		||||
                <th rowspan="2">Nom Prenom</th>
 | 
			
		||||
        <c:forEach items='${sessionScope.lesDatesEnString}' var="uneDate" varStatus="status">
 | 
			
		||||
            <th colspan="2" class="text-center"> ${uneDate}</th>
 | 
			
		||||
        </c:forEach>
 | 
			
		||||
<%@include file= "jspf/debutJSP.jspf" %>
 | 
			
		||||
<body>
 | 
			
		||||
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
@@ -59,4 +48,35 @@
 | 
			
		||||
</table>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</form><!-- comment -->
 | 
			
		||||
            <fieldset class="row mt-1 mb-10">  
 | 
			
		||||
 | 
			
		||||
                <legend>
 | 
			
		||||
                    Feuille de gardes
 | 
			
		||||
                </legend>
 | 
			
		||||
                <form action="gardes" method="POST">
 | 
			
		||||
                    <table class="table">
 | 
			
		||||
                        <thead>
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                <th rowspan="2">No</th>
 | 
			
		||||
                                <th rowspan="2">Nom Prenom</th>
 | 
			
		||||
                                    <c:forEach items='${sessionScope.lesDatesEnString}' var="uneDate" varStatus="status">
 | 
			
		||||
                                    <th colspan="4" class="text-center"> ${uneDate}</th>
 | 
			
		||||
                                    </c:forEach>
 | 
			
		||||
 | 
			
		||||
                            </tr>
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                <c:forEach var="i" begin="0" end="6" step="1">
 | 
			
		||||
                                    <c:forEach items='${sessionScope.lesPeriodes}' var="unePeriode" varStatus="status">
 | 
			
		||||
                                        <td class="text-center">${unePeriode}</td>
 | 
			
		||||
                                    </c:forEach>
 | 
			
		||||
                                </c:forEach>
 | 
			
		||||
                            </tr>
 | 
			
		||||
                        </thead>
 | 
			
		||||
                    </table>
 | 
			
		||||
                </form>
 | 
			
		||||
            </fieldset> 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -175,6 +175,9 @@
 | 
			
		||||
                    
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
                        
 | 
			
		||||
                        
 | 
			
		||||
                        
 | 
			
		||||
            <!-- fin tab disp -->
 | 
			
		||||
            <div class="danger mt-3">${message} </div> 
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@
 | 
			
		||||
                            ${sessionScope.lePompierConnecte.getNom()} (
 | 
			
		||||
                            ${sessionScope.lePompierConnecte.getLeStatut().getValeur()})
 | 
			
		||||
                        </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
 | 
			
		||||
@@ -89,20 +89,16 @@
 | 
			
		||||
                               
 | 
			
		||||
                            </c:choose>                            
 | 
			
		||||
                        </li>
 | 
			
		||||
                        <li class="nav-item">   
 | 
			
		||||
                            <c:choose>                                
 | 
			
		||||
                                <c:when test="${page eq 5}">                                     
 | 
			
		||||
                                    <a class="nav-link active" href="pompier?pageDemandee=5">Gardes</a>
 | 
			
		||||
                                </c:when>
 | 
			
		||||
                                <c:when test="${sessionScope.lePompierConnecte.getLeStatut().getCode() eq 2}">
 | 
			
		||||
                                    <a class="nav-link" href="pompier?pageDemandee=5">Gardes</a>
 | 
			
		||||
                                </c:when>                                       
 | 
			
		||||
                                <c:otherwise>
 | 
			
		||||
                                   
 | 
			
		||||
                                </c:otherwise>
 | 
			
		||||
                        <li class="nav-item">
 | 
			
		||||
                                                         
 | 
			
		||||
                               
 | 
			
		||||
                            </c:choose>                            
 | 
			
		||||
                         </li>
 | 
			
		||||
                               
 | 
			
		||||
                                    <a class="nav-link" href="gardes">Gardes</a>
 | 
			
		||||
                                
 | 
			
		||||
                               
 | 
			
		||||
                                                   
 | 
			
		||||
                        </li>
 | 
			
		||||
 | 
			
		||||
                    </ul>
 | 
			
		||||
 | 
			
		||||
                </div>    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user