| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <%@ page contentType="text/html;charset=UTF-8" language="java" %>
- <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
- <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
- <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <html>
- <head> <title><spring:message code="label.addCar"/></title> </head>
- <body>
- <div class="header">
- <span style="float: right">
- <a style="background-color: white" href="?lang=pl">pl</a> | <a style="background-color: white" href="?lang=en">en</a> | <a style="background-color: white" href="?lang=de">de</a>
- </span>
- </div>
- <h1>Add car info:</h1>
- <h3><spring:message code="label.userList"/></h3>
- <c:if test="${!empty appCarList}">
- <table class="data">
- <tr>
- <th><spring:message code="label.brandName"/></th>
- <th><spring:message code="label.modelName"/></th>
- <th><spring:message code="label.bodyType"/></th>
- <th><spring:message code="label.productionYear"/></th>
- <th><spring:message code="label.carColor"/></th>
- <th><spring:message code="label.fuelType"/></th>
- <th><spring:message code="label.engineSize"/></th>
- <th><spring:message code="label.mileage"/></th>
- <th><spring:message code="label.power"/></th>
- <th><spring:message code="label.Vin"/></th>
- </tr>
- <c:forEach items="${appCarList}" var="appCar">
- <tr>
- <td>${appCar.brandName} </td>
- <td>${appCar.modelName} </td>
- <td>${appCar.bodyType}</td>
- <td>${appCar.productionYear}</td>
- <td>${appCar.carColor} </td>
- <td>${appCar.fuelType} </td>
- <td>${appCar.engineSize}</td>
- <td>${appCar.mileage}</td>
- <td>${appCar.power}</td>
- <td>${appCar.vin}</td>
- </tr>
- </c:forEach>
- </table>
- </c:if>
- </body>
- </html>
|