Changeset 9dcbf44 for src/main/resources/templates/partinfo.html
- Timestamp:
- 01/06/23 19:17:05 (23 months ago)
- Branches:
- main
- Children:
- cab5859
- Parents:
- d4b888e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/partinfo.html
rd4b888e r9dcbf44 1 1 <div> 2 <p th:text="${part.getName()}"></p> 3 <p th:text="${part.getDescription()}"></p> 4 <p th:text="${part.getManufacturer().getName()}"></p> 5 <p><span th:text="${amount}"></span><span> денари</span></p> 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 6 21 <form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }"> 7 22 <label> 8 <input type="number" name="quantity" required min="1" placeholder="Количина"/>23 <input class="form-control d-inline" type="number" name="quantity" required min="1" placeholder="Количина"/> 9 24 </label> 10 <button class="btn btn-primary btn-block btn-lg " type="submit">Додај во нарачка</button>25 <button class="btn btn-primary btn-block btn-lg w-25 d-inline" type="submit">Додај во нарачка</button> 11 26 </form> 12 27 </div>
Note:
See TracChangeset
for help on using the changeset viewer.