main
Last change
on this file since 5e7345e 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
|
Line | |
---|
1 | <div>
|
---|
2 | <h1 class="mt-3 mb-3">Детали за делот</h1>
|
---|
3 | <a href="/products">Назад кон сите продукти</a>
|
---|
4 | <table class="table table-bordered mt-3">
|
---|
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 |
|
---|
23 | <form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }">
|
---|
24 | <label>
|
---|
25 | <input class="form-control d-inline" type="number" name="quantity" required min="1" placeholder="Количина"/>
|
---|
26 | </label>
|
---|
27 | <button class="btn btn-primary btn-block btn-lg w-25 d-inline" type="submit">Додај во нарачка</button>
|
---|
28 | </form>
|
---|
29 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.