source: src/main/resources/templates/myNextDeliveries.html@ cab5859

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

Added all advanced reports, added bootstrap for every template

  • Property mode set to 100644
File size: 970 bytes
Line 
1<div>
2 <h1 class="mb-3 mt-3">Мои следни нарачки</h1>
3 <h1 th:if="${hasError}" th:text="${error}"></h1>
4 <div th:if="${!hasError}">
5 <table class="table table-bordered">
6 <thead class="thead-dark">
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.