source: src/main/resources/templates/repairsForUser.html@ e02787e

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

Added all advanced reports, added bootstrap for every template

  • Property mode set to 100644
File size: 994 bytes
Line 
1<div>
2<h1 class="mt-3 mb-3">Мои поправки</h1>
3<table class="table table-bordered">
4 <thead class="thead-dark">
5 <tr>
6 <th>Број на поправка</th>
7 <th>Датум на нарачка</th>
8 <th>Број на нарачка</th>
9 <th>Име на сервис</th>
10 <th>Додај критика</th>
11 </tr>
12 </thead>
13 <tbody>
14 <tr th:each="repair : ${userRepairs}">
15 <td th:text="${repair.getRepairid()}"></td>
16 <td th:text="${repair.getOrderdate}"></td>
17 <td th:text="${repair.getOrderid()}"></td>
18 <td th:text="${repair.getRsname()}"></td>
19 <td>
20 <div th:if="${!hasReview.get(repair.getRepairid())}">
21 <form th:action="@{'/repairs/addReview/{id}' (id=${repair.getRepairid()}) }">
22 <button type="submit">Додај критика</button>
23 </form>
24 </div>
25 <div th:if="${hasReview.get(repair.getRepairid())}">
26 Веќе има критика
27 </div>
28 </td>
29 </tr>
30 </tbody>
31</table>
32</div>
Note: See TracBrowser for help on using the repository browser.