-
Notifications
You must be signed in to change notification settings - Fork 490
Expand file tree
/
Copy pathmenu.html
More file actions
38 lines (38 loc) · 1.18 KB
/
menu.html
File metadata and controls
38 lines (38 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en" xmlns:th = "http://www.thymeleaf.org/">
<head>
<meta charset="UTF-8" />
<title>Spa Menu</title>
<link href="../static/css/styles.css" th:href="@{/css/styles.css}" rel="stylesheet" />
</head>
<body>
<h1>My Super Fancy Spa</h1>
<div id = "clientProfile">
<h2>My Profile</h2>
<p th:text = "${client.skinType}"></p>
<p th:text = "${client.nailService}"></p>
</div>
<div id = "servicesMenu">
<h2>Menu of Available Services</h2>
<div>
<h3>Facial Treatments</h3>
<p>The below facial treatments are recommended by our estheticians for your given skin type.</p>
<table>
<th:block th:each = "facial : ${client.appropriateFacials}">
<tr>
<td th:text = "${facial}"></td>
</tr>
</th:block>
</table>
</div>
<div th:if = "${client.nailService == 'manicure'}">
<h3>Manicure</h3>
<p th:replace = "fragments :: manicureDescription"></p>
</div>
<div th:if = "${client.nailService == 'pedicure'}">
<h3>Pedicure</h3>
<p th:replace = "fragments :: pedicureDescription"></p>
</div>
</div>
</body>
</html>