Changeset e272096 for src/main/resources/templates/listBileti.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/listBileti.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"> … … 31 26 32 27 <td class="text-right"> 33 <th:block sec:authorize="hasRole('ROLE_ADMIN')">34 <form th:action="@{'/products/delete/{id}' (id=${bilet.bId})}" 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>28 <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">--> 29 <!-- <form th:action="@{'/products/delete/{id}' (id=${bilet.bId})}"--> 30 <!-- th:method="DELETE">--> 31 <!-- <button type="submit"--> 32 <!-- class="btn btn-sm btn-danger delete-product">--> 33 <!-- <i class="fas fa-trash-alt"></i> Delete--> 34 <!-- </button>--> 35 <!-- </form>--> 36 <!-- </th:block>--> 42 37 </td> 43 38 <td> 44 <th:block sec:authorize="hasRole('ROLE_ADMIN')">45 <a th:href="@{'/products/edit-form/{id}' (id=${bilet.bId})}" 46 class="btn btn-sm btn-info edit-product">47 <i class="fas fa-edit"></i> Edit 48 </a>49 </th:block>39 <!-- <th:block sec:authorize="hasRole('ROLE_ADMIN')">--> 40 <!-- <a th:href="@{'/products/edit-form/{id}' (id=${bilet.bId})}"--> 41 <!-- class="btn btn-sm btn-info edit-product">--> 42 <!-- <i class="fas fa-edit"></i> Edit--> 43 <!-- </a>--> 44 <!-- </th:block>--> 50 45 </td> 51 46 <td> 52 <form th:action="@{'/shopping-cart/add-product/{id}' (id=${bilet.bId})}" 53 th:method="POST"> 54 <button type="submit" class="btn btn-sm btn-success add-to-cart"> 55 <i class="fas fa-shopping-cart"></i> Add to cart 56 </button> 57 </form> 47 58 48 </td> 59 49 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.