-
Notifications
You must be signed in to change notification settings - Fork 0
/
final.ejs
97 lines (97 loc) · 2.61 KB
/
final.ejs
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE>
<html>
<head>
<title>parkaway</title>
<link rel="stylesheet" href="css/style.css">
<style>
#det1{
color:white;
text-align: center;
font-size: 30px;
font-family: calibri;
}
*{
margin: 0;
padding: 0;
}
.rate {
float: left;
height: 46px;
padding: 0 10px;
}
.rate:not(:checked) > input {
position:absolute;
top:-9999px;
}
#initial{
display:none;
color:white;
margin-left:600px;
margin-top: 100px;
font-family: calibri;
font-size: 20px;
opacity: 0.8;
}
.rate:not(:checked) > label {
float:right;
width:1em;
overflow:hidden;
white-space:nowrap;
cursor:pointer;
font-size:30px;
color:#ccc;
}
.rate:not(:checked) > label:before {
content: '★ ';
}
.rate > input:checked ~ label {
color: #ffc700;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
color: #c59b08;
}
.rate{
margin-top: 50px;;
margin-left: 680px;
}
</style>
<script>
function disp(){
document.getElementById("initial").style.display="block";
}
</script>
</head>
<div>
<h1 id="det">Reached your destination!</h1><br/><br/><br/><br/><br/><br/>
<h3 id="det1">Contact Details : +91<%= final[0].mobile %></h3>
</div><br/><br/><br/><br/><br/>
<div style="margin-left: 600px; id="amount">
<h1 id="amount1" style="color: white;">
Review your Experience
</h1>
</div>
<div class="rate" onclick="disp()">
<input type="radio" id="star5" name="rate" value="5" />
<label for="star5" title="text">5 stars</label>
<input type="radio" id="star4" name="rate" value="4" />
<label for="star4" title="text">4 stars</label>
<input type="radio" id="star3" name="rate" value="3" />
<label for="star3" title="text">3 stars</label>
<input type="radio" id="star2" name="rate" value="2" />
<label for="star2" title="text">2 stars</label>
<input type="radio" id="star1" name="rate" value="1" />
<label for="star1" title="text">1 star</label>
</div>
<h5 id="initial">Your ratings are auto saved. Thank you :)</h5>
<img src="images/park.png" alt="main image" id="mainimage">
<img src="images/park.png" alt="main image" id="mainimage">
</div>
</html>