main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
671 bytes
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="UTF-8">
|
---|
5 | <title>HomePage</title>
|
---|
6 | </head>
|
---|
7 | <body>
|
---|
8 | <div class="container">
|
---|
9 | <div class="row">
|
---|
10 | <div class="col-md-4" th:each="restaurant : ${restaurants}">
|
---|
11 | <div class="card">
|
---|
12 | <div class="card-body">
|
---|
13 | <h5 class="card-title" th:text="${restaurant.name}"></h5>
|
---|
14 | <p class="card-text" th:text="${restaurant.address}"></p>
|
---|
15 | <a th:href="@{'/restaurant-details/' + ${restaurant.restaurantId}}" class="btn btn-primary">View Details</a>
|
---|
16 | </div>
|
---|
17 | </div>
|
---|
18 | </div>
|
---|
19 | </div>
|
---|
20 | </div>
|
---|
21 | </body>
|
---|
22 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.