84 lines
2.7 KiB
Plaintext
84 lines
2.7 KiB
Plaintext
|
<%@page contentType="text/html" %>
|
|||
|
<%@page pageEncoding="UTF-8" %>
|
|||
|
<%@page language="java" %>
|
|||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|||
|
|
|||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|||
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|||
|
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|||
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|||
|
<title>RandoOnLine - Resume du Panier</title>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
|
|||
|
<h1>RandoOnLine</h1>
|
|||
|
<table border="0" width="100%">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th><a href="./index.jsp">Accueil</a></th>
|
|||
|
<th><a href="./Panier">Panier</a></th>
|
|||
|
<th><a href="./Articles">Liste des articles</a></th>
|
|||
|
<th>Passer <20> la caisse</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
</table>
|
|||
|
|
|||
|
<h2>Contenu du Panier</h2>
|
|||
|
|
|||
|
<form method="post" action="./Client">
|
|||
|
<table border="0" width="100%">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Aper<65>u</th>
|
|||
|
<th>Propri<72>t<EFBFBD>s</th>
|
|||
|
<th>Quantit<69></th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<c:forEach items="${articles}" var="artRef" >
|
|||
|
<tr>
|
|||
|
<td>
|
|||
|
<img src="./img/${artRef.photo}" width="50" height="50" alt="image"/>
|
|||
|
</td>
|
|||
|
<td>
|
|||
|
<table border="0" width="100%" height="100%">
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td>Référence : ${artRef.ref}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>Marque : ${artRef.marque}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>Modèle : ${artRef.modele}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>Prix : ${artRef.prix}</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</td>
|
|||
|
<td>
|
|||
|
${artRef.quantite}
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</c:forEach>
|
|||
|
<tr>
|
|||
|
<td colspan="2" class="tabTotal">Total :</td>
|
|||
|
<td>
|
|||
|
<jsp:useBean id="panierTotal" class="com.articles.Panier" scope="request" />
|
|||
|
<jsp:getProperty name="panierTotal" property="prixTotal" />
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<br />
|
|||
|
<input type="button" value="Annuler" onclick="javascript:document.location='./Articles'" />
|
|||
|
<input type="submit" value="Valider" />
|
|||
|
</form>
|
|||
|
</body>
|
|||
|
</html>
|