-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmajors.page.tmpl
77 lines (61 loc) · 2.67 KB
/
majors.page.tmpl
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{{template "base" .}}
{{define "content"}}
<div class="container">
<div class="row">
<div class="col">
<img src="/static/images/marjors-suite.png"
class="img-fluid img-thumbnail mx-auto d-block room-image" alt="room image">
</div>
</div>
<div class="row">
<div class="col">
<h1 class="text-center mt-4">Major's Suite</h1>
<p>
Your home away form home, set on the majestic waters of the Atlantic Ocean, this will be a vacation
to remember.
Your home away form home, set on the majestic waters of the Atlantic Ocean, this will be a vacation
to remember.
Your home away form home, set on the majestic waters of the Atlantic Ocean, this will be a vacation
to remember.
Your home away form home, set on the majestic waters of the Atlantic Ocean, this will be a vacation
to remember.
Your home away form home, set on the majestic waters of the Atlantic Ocean, this will be a vacation
to remember.
Your home away form home, set on the majestic waters of the Atlantic Ocean, this will be a vacation
to remember.
</p>
</div>
</div>
<div class="row">
<div class="col text-center">
<a id="check-availability-button" href="#!" class="btn btn-success">Check Availability</a>
</div>
</div>
</div>
{{end}}
{{define "js"}}
<script>
document.getElementById("check-availability-button").addEventListener("click", function () {
let html = `
<form id="check-availability-form" action="" method="post" novalidate class="needs-validation">
<div class="form-row">
<div class="col">
<div class="form-row" id="reservation-dates-modal">
<div class="col">
<input disabled required class="form-control" type="text" name="start" id="start" placeholder="Arrival">
</div>
<div class="col">
<input disabled required class="form-control" type="text" name="end" id="end" placeholder="Departure">
</div>
</div>
</div>
</div>
</form>
`;
attention.custom({
title: 'Choose your dates',
msg: html,
});
})
</script>
{{end}}