source: src/main/resources/templates/html/coupons.html@ 743de55

Last change on this file since 743de55 was 743de55, checked in by macagaso <gasoskamarija@…>, 6 weeks ago

Initial commit

  • Property mode set to 100644
File size: 871 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</head>
16<body>
17
18<table>
19
20 <div th:each="nastan : ${couponList}" class="nastan-container">
21 <div><strong>Naslov:</strong> <span th:text="${nastan.title}"></span></div>
22 <div><strong>Opis:</strong> <span th:text="${nastan.description}"></span></div>
23 <div><strong>Kod:</strong> <span th:text="${nastan.code}"></span></div>
24 </div>
25</table>
26
27</body>
28</html>
Note: See TracBrowser for help on using the repository browser.