source: src/main/resources/templates/showOrderStatusCustomer.html@ 8d11f8c

Last change on this file since 8d11f8c was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 21 months ago

code added, trial 2

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[8d11f8c]1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Title</title>
6 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
7 integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
8</head>
9<body>
10<nav class="navbar navbar-expand-lg navbar-dark bg-dark" style="height: 55px">
11 <div class="collapse navbar-collapse" id="navbarSupportedContent">
12 <ul class="navbar-nav mr-auto">
13 <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none;"
14 th:href="@{/home}">Врати се назад</a></li>
15 </ul>
16 </div>
17</nav>
18<h1 class="display-4" style="margin-left:15px; font-size: 33px;">Историјат на вашите нарачки</h1>
19<table class="table">
20 <thead class="thead-light">
21 <tr>
22 <th scope="col">БР.</th>
23 <th scope="col">СТАТУС</th>
24 <th scope="col">СОДРЖИ</th>
25 </tr>
26 </thead>
27 <tbody>
28 <tr th:each="order: ${orders}" itemscope="row">
29 <td
30 th:text="${order.getOrderId()}"></td>
31 <td
32 th:text="${order.getOrderStatus()}"></td>
33 <td>
34 <div th:each = "foodObj : ${foodNames.get(order.getOrderId())}">
35 <span th:text = "${foodObj.getFoodName()}"></span>
36 <span th:text = "${foodObj.getFoodQuantity()}"></span>
37 </div>
38 </td>
39 </tr>
40 </tbody>
41</table>
42</body>
43</html>
Note: See TracBrowser for help on using the repository browser.