source: src/main/resources/templates/partinfo.html@ 89865ae

main
Last change on this file since 89865ae 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: 1.1 KB
RevLine 
[60de3eb]1<div>
[cab5859]2 <h1 class="mt-3 mb-3">Детали за делот</h1>
3 <a href="/products">Назад кон сите продукти</a>
4 <table class="table table-bordered mt-3">
[9dcbf44]5 <thead class="thead-dark">
6 <tr>
7 <th scope="col">Име</th>
8 <th scope="col">Опис</th>
9 <th scope="col">Производител</th>
10 <th scope="col">Цена</th>
11 </tr>
12 </thead>
13 <tbody>
14 <tr>
15 <td th:text="${part.getName()}"></td>
16 <td th:text="${part.getDescription()}"></td>
17 <td th:text="${part.getManufacturer().getName()}"></td>
18 <td><span th:text="${amount}"></span><span> денари</span></td>
19 </tr>
20 </tbody>
21 </table>
22
[7d43957]23<form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }">
[feffc2f]24 <label>
[9dcbf44]25 <input class="form-control d-inline" type="number" name="quantity" required min="1" placeholder="Количина"/>
[feffc2f]26 </label>
[9dcbf44]27 <button class="btn btn-primary btn-block btn-lg w-25 d-inline" type="submit">Додај во нарачка</button>
[feffc2f]28</form>
[60de3eb]29</div>
Note: See TracBrowser for help on using the repository browser.