main
Last change
on this file since 9dcbf44 was 9dcbf44, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Added full functionality for changing delivery status,
added bootstrap for some pages
|
-
Property mode
set to
100644
|
File size:
1011 bytes
|
Line | |
---|
1 | <div>
|
---|
2 | <table class="table table-bordered mt-4">
|
---|
3 | <thead class="thead-dark">
|
---|
4 | <tr>
|
---|
5 | <th scope="col">Име</th>
|
---|
6 | <th scope="col">Опис</th>
|
---|
7 | <th scope="col">Производител</th>
|
---|
8 | <th scope="col">Цена</th>
|
---|
9 | </tr>
|
---|
10 | </thead>
|
---|
11 | <tbody>
|
---|
12 | <tr>
|
---|
13 | <td th:text="${part.getName()}"></td>
|
---|
14 | <td th:text="${part.getDescription()}"></td>
|
---|
15 | <td th:text="${part.getManufacturer().getName()}"></td>
|
---|
16 | <td><span th:text="${amount}"></span><span> денари</span></td>
|
---|
17 | </tr>
|
---|
18 | </tbody>
|
---|
19 | </table>
|
---|
20 |
|
---|
21 | <form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }">
|
---|
22 | <label>
|
---|
23 | <input class="form-control d-inline" type="number" name="quantity" required min="1" placeholder="Количина"/>
|
---|
24 | </label>
|
---|
25 | <button class="btn btn-primary btn-block btn-lg w-25 d-inline" type="submit">Додај во нарачка</button>
|
---|
26 | </form>
|
---|
27 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.