source: src/main/resources/templates/currentOrder.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: 892 bytes
Line 
1<div>
2 <h1 th:if="${hasError}" th:text="${error}"></h1>
3 <div th:if="${!hasError}">
4 <h3 class="mt-3 mb-3">
5 Нарачка за корисник : <span th:text="${order.getUser().getUsername()}"></span>
6 </h3>
7 <table class="table table-bordered">
8 <thead class="thead-dark">
9 <tr>
10 <th>Name</th>
11 <th>Manufacturer</th>
12 </tr>
13 </thead>
14 <tbody>
15 <tr th:each="part : ${parts}">
16 <td th:text="${part.getName()}"></td>
17 <td th:text="${part.getManufacturer().getName()}"></td>
18 </tr>
19 </tbody>
20 </table>
21 <form th:action="@{'/part/delivery/'}">
22 <button class="btn btn-primary btn-block btn-lg" type="submit">Испрати нарачка</button>
23 </form>
24 </div>
25</div>
Note: See TracBrowser for help on using the repository browser.