-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.jsp
More file actions
60 lines (58 loc) · 2.16 KB
/
home.jsp
File metadata and controls
60 lines (58 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/design.css">
</head>
<meta charset="ISO-8859-1">
<title>Home</title>
<style>
.card {
border: 1px solid #ccc;
border-radius: 5px;
padding: 16px;
margin: 16px;
width: 300px;
display: inline-block;
vertical-align: top;
}
.card h3 {
margin-top: 0;
}
</style>
</head>
<body >
<%@ include file="header.jsp" %>
<h1>Vos Projects</h1>
<div class="cards-container">
<c:forEach var="projet" items="${projets}">
<div class="card-item">
<div class="wrappers">
<div class="banner-images" style="background-image: url(${projet.image});"></div>
<h1>${projet.nom}</h1>
<p><strong>Adresse:</strong> ${projet.adresse}</p>
<p><strong>Chef de Projet:</strong> ${projet.chefProjet}</p>
<p><strong>Start Date:</strong> ${projet.dateDebut}</p>
<p><strong>End Date:</strong> ${projet.dateFin}</p>
<p><strong>Budget:</strong> ${projet.budget}</p>
<p><strong>Type:</strong> ${projet.type}</p>
<p><strong>Tâches:</strong> ${projet.taches}</p>
<p><strong>État d'Avancement:</strong> ${projet.etat}%</p>
<div class="button-wrapper">
<form action="taches" method="post">
<input type="hidden" name="projetName" value="${projet.nom}">
<button type="submit" class="custom-button btn outline">Voir les tâches</button>
</form>
</div>
</div>
</div>
</c:forEach>
</div>
<%@ include file="footer.jsp" %>
<c:if test="${empty projets}">
<p>No projects available.</p>
</c:if>
</body>
</html>