source: src/main/resources/templates/html/coupons.html@ 43c9090

Last change on this file since 43c9090 was 43c9090, checked in by macagaso <gasoskamarija@…>, 5 weeks ago

Updated version

  • Property mode set to 100644
File size: 975 bytes
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Title</title>
6 <style>
7 .nastan-container {
8 display: flex;
9 flex-direction: column; /* Change to 'row' if you want the items in a row */
10 border: 1px solid #ccc; /* Optional: add a border to each item */
11 padding: 10px; /* Optional: add padding to each item */
12 margin-bottom: 10px; /* Optional: add space between items */
13 }
14 </style>
15 <script src="/js/cookie.js" defer></script>
16</head>
17<body>
18<button id="authButton" style="display: none;"></button>
19<table>
20
21 <div th:each="nastan : ${couponList}" class="nastan-container">
22 <div><strong>Naslov:</strong> <span th:text="${nastan.title}"></span></div>
23 <div><strong>Opis:</strong> <span th:text="${nastan.description}"></span></div>
24 <div><strong>Kod:</strong> <span th:text="${nastan.code}"></span></div>
25 </div>
26</table>
27
28</body>
29</html>
Note: See TracBrowser for help on using the repository browser.