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

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

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

  • Property mode set to 100644
File size: 886 bytes
Line 
1<div>
2<h1 class="mt-3 mb-3">Резултат од филтерот</h1>
3<a th:href="${'/products'}">Врати се на сите производи</a>
4 <h3 th:if="${hasError}" th:text="${error}"></h3>
5 <div th:if="${!hasError}">
6<table class="table table-bordered mt-3">
7 <thead class="thead-dark">
8 <tr>
9 <th scope="col">Име</th>
10 <th scope="col">Производител</th>
11 <th scope="col">Детали</th>
12 </tr>
13 </thead>
14 <tbody>
15 <tr th:each="f : ${filtered}">
16 <td th:text="${f.getPartname()}"></td>
17 <td th:text="${f.getPmname()}"></td>
18 <td>
19 <form th:action="@{'/part/{id}' (id=${f.getPartid()}) }">
20 <button class="btn btn-primary btn-block btn-lg w-50" type="submit">Детали</button>
21 </form>
22 </td>
23 </tr>
24 </tbody>
25</table>
26 </div>
27</div>
Note: See TracBrowser for help on using the repository browser.