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
RevLine 
[60de3eb]1<div>
[cab5859]2<h1 class="mt-3 mb-3">Мои поправки</h1>
3<table class="table table-bordered">
4 <thead class="thead-dark">
[feffc2f]5 <tr>
[d4b888e]6 <th>Број на поправка</th>
[feffc2f]7 <th>Датум на нарачка</th>
[7d43957]8 <th>Број на нарачка</th>
[feffc2f]9 <th>Име на сервис</th>
[d4b888e]10 <th>Додај критика</th>
[feffc2f]11 </tr>
12 </thead>
13 <tbody>
14 <tr th:each="repair : ${userRepairs}">
[d4b888e]15 <td th:text="${repair.getRepairid()}"></td>
[feffc2f]16 <td th:text="${repair.getOrderdate}"></td>
[7d43957]17 <td th:text="${repair.getOrderid()}"></td>
[feffc2f]18 <td th:text="${repair.getRsname()}"></td>
[d4b888e]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>
[feffc2f]29 </tr>
30 </tbody>
31</table>
[60de3eb]32</div>
Note: See TracBrowser for help on using the repository browser.