source: src/main/resources/templates/myNextDeliveries.html@ 9dcbf44

main
Last change on this file since 9dcbf44 was 9dcbf44, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added full functionality for changing delivery status,
added bootstrap for some pages

  • Property mode set to 100644
File size: 904 bytes
RevLine 
[9dcbf44]1<div>
2 <h1>Мои следни нарачки</h1>
3 <h1 th:if="${hasError}" th:text="${error}"></h1>
4 <div th:if="${!hasError}">
5 <table>
6 <thead>
7 <tr>
8 <th>Статус на достава</th>
9 <th>Адреса на достава</th>
10 <th>Број на нарачка</th>
11 <th>Датум на нарачка</th>
12 <th>Детали за нарачка</th>
13 </tr>
14 </thead>
15 <tbody>
16 <tr th:each="d : ${deliveries}">
17 <td th:text="${d.getStatus}"></td>
18 <td th:text="${d.getAddress()}"></td>
19 <td th:text="${d.getOrderid()}"></td>
20 <td th:text="${d.getDatum()}"></td>
21 <td>
22 <form method="get" th:action="@{'/order/{id}' (id=${d.getOrderid()}) }">
23 <button class="btn btn-primary btn-block btn-lg" type="submit">Детали</button>
24 </form>
25 </td>
26 </tr>
27 </tbody>
28 </table>
29 </div>
30</div>
Note: See TracBrowser for help on using the repository browser.