source: trip-planner/src/main/resources/templates/create-homepage.html

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<!DOCTYPE html>
2<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
6 <title>Initial create</title>
7</head>
8<body>
9<div class="container">
10 TUKA SE PLANERITE
11<br>
12 <a href="/create">Create initial planner</a>
13 <br>
14 <br>
15 <div class="card" style="width: 18rem; display: inline-block;" th:each="plan : ${plannerList}">
16
17 <div class="card-body" >
18 <h5 class="card-title" th:if="${plan.getName() != null}" ></h5>
19 <h5 class="card-title" th:text="${plan.getName()}" ></h5>
20 <p class="card-text" th:if="${plan.getDescription() != null}" ></p>
21 <p class="card-text" th:text="${plan.getDescription()}" ></p>
22 <a th:href="@{/create/planner/{id}(id=${plan.getId()})}"
23 class="btn btn-primary"
24 title="Edit" >
25 <i class="fa fa-fw fa-edit"></i>
26 Edit
27 </a>
28 </div>
29
30 </div>
31
32</div>
33
34
35<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
36<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
37
38</body>
39</html>
Note: See TracBrowser for help on using the repository browser.