main
Last change
on this file since 4d67d70 was 4d67d70, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Final touches
|
-
Property mode
set to
100644
|
File size:
970 bytes
|
Rev | Line | |
---|
[9dcbf44] | 1 | <div>
|
---|
[4d67d70] | 2 | <h1 class="mb-3 mt-3">Мои следни достави</h1>
|
---|
[9dcbf44] | 3 | <h1 th:if="${hasError}" th:text="${error}"></h1>
|
---|
| 4 | <div th:if="${!hasError}">
|
---|
[cab5859] | 5 | <table class="table table-bordered">
|
---|
| 6 | <thead class="thead-dark">
|
---|
[9dcbf44] | 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.