Changeset e272096 for src/main/resources/templates/listKazni.html
- Timestamp:
- 02/18/24 22:01:54 (9 months ago)
- Branches:
- master
- Children:
- 4251327
- Parents:
- bde8b13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/listKazni.html
rbde8b13 re272096 1 1 <div xmlns:th="http://www.thymeleaf.org"> 2 <section class="jumbotron text-center"> 3 <div class="container"> 4 <h1 class="jumbotron-heading">WEB PROGRAMMING SHOP</h1> 5 <h3 class="jumbotron-heading">All products</h3> 6 </div> 7 </section> 2 8 3 9 4 <div class="container mb-4"> … … 16 11 <th scope="col">#</th> 17 12 <th scope="col">Iznos</th> 13 <th scope="col">Datum</th> 18 14 <th scope="col">Plateno</th> 15 <th scope="col">Datum plateno</th> 19 16 <th scope="col">Dokument</th> 20 17 <th scope="col"></th> … … 27 24 <td th:text="${kazna.kzId}"></td> 28 25 <td th:text="${kazna.kzIznos}"></td> 26 <td th:text="${kazna.kzDatum}"></td> 29 27 <td th:text="${kazna.kzPlateno}"></td> 28 <td th:text="${kazna.kzDatumPlateno}"></td> 30 29 <td th:text="${kazna.kzDokument}"></td> 31 30 32 31 <td class="text-right"> 33 <th:block sec:authorize="hasRole('ROLE_ADMIN')">34 <form th:action="@{'/products/delete/{id}' (id=${kazna.kzId})}" 35 th:method="DELETE">36 <button type="submit" 37 class="btn btn-sm btn-danger delete-product">38 <i class="fas fa-trash-alt"></i> Delete 39 </button>40 </form>41 </th:block>32 <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">--> 33 <!-- <form th:action="@{'/products/delete/{id}' (id=${kazna.kzId})}"--> 34 <!-- th:method="DELETE">--> 35 <!-- <button type="submit"--> 36 <!-- class="btn btn-sm btn-danger delete-product">--> 37 <!-- <i class="fas fa-trash-alt"></i> Delete--> 38 <!-- </button>--> 39 <!-- </form>--> 40 <!-- </th:block>--> 42 41 </td> 43 42 <td> 44 <th:block sec:authorize="hasRole('ROLE_ADMIN')">45 <a th:href="@{'/products/edit-form/{id}' (id=${kazna.kzId})}" 46 class="btn btn-sm btn-info edit-product">47 <i class="fas fa-edit"></i> Edit 48 </a>49 </th:block>43 <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">--> 44 <!-- <a th:href="@{'/products/edit-form/{id}' (id=${kazna.kzId})}"--> 45 <!-- class="btn btn-sm btn-info edit-product">--> 46 <!-- <i class="fas fa-edit"></i> Edit--> 47 <!-- </a>--> 48 <!-- </th:block>--> 50 49 </td> 51 50 <td> 52 <form th:action="@{'/ shopping-cart/add-product/{id}' (id=${kazna.kzId})}"51 <form th:action="@{'/kazna/{id}/pay' (id=${kazna.kzId})}" 53 52 th:method="POST"> 54 53 <button type="submit" class="btn btn-sm btn-success add-to-cart"> 55 <i class="fas fa-shopping-cart"></i> Add to cart54 Pay 56 55 </button> 57 56 </form>
Note:
See TracChangeset
for help on using the changeset viewer.