-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
163 lines (141 loc) · 4.79 KB
/
index.html
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang = "en">
<head>
<title>BookMyAppointment</title>
<meta charset = "UTF-8" />
<meta name = "description" content = "Book a doctor's appointment from the comfort of your home!">
<meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
<meta http-equiv = "X-UA-Compatible" content = "IE=edge">
<link rel = "icon" href = "#" sizes = "any" />
<link rel = "stylesheet" href = "style.css" type = "text/css" />
<script src = "RandomDataGenerator.js" defer = ""></script>
<script src = "script.js" defer = ""></script>
</head>
<body>
<div style = "position: absolute; top: 0; bottom: 0; width: 0; height: 0;">
<svg id = "logo" xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 200 200">
<defs>
<linearGradient id = "LogoGradientLight" x1 = "1" y1 = "0" x2 = "0" y2 = "1">
<stop offset = "0%" stop-color = "#baf3ee" />
<stop offset = "100%" stop-color = "#c31432" />
</linearGradient>
<linearGradient id = "LogoGradientDark" x1 = "1" y1 = "0" x2 = "0" y2 = "1">
<stop offset = "0%" stop-color = "#c31432" />
<stop offset = "100%" stop-color = "#240b36" />
</linearGradient>
<style>
#LogoBackground{
fill: url(#LogoGradientLight);
}
#LogoImage{
fill: black;
}
.dark #LogoBackground{
fill: url(#LogoGradientDark);
}
.dark #LogoImage{
fill: white;
}
</style>
</defs>
<circle id = "LogoBackground" cx = "50%" cy = "50%" r = "50%" />
<path
id = "LogoImage"
d = "
M 106 179.5 c -1 -5 -1 -13 -1 -17 0 -6 0 -6 1 -5 2 1 2 12 1 25 l -1 6 z
m 5 -16 c 0 -4 0 -5 -6 -11 -6 -4 -7 -6 -6 -8 0 -2 0 -2 3 0 1 1 5 4 7 6 5 5 6 8 3 14 -2 4 -2 3 -1 -1 z
m -4 -18 c -3 -2 -6 -5 -7 -6 -1 -2 -1 -7 0 -7 s 11 9 13 11 c 1 1 1 7 0 7 0 0 -3 -2 -6 -5 z
m 0 -10 c -7 -6 -9 -8 -9 -12 0 -3 2 -3 9 4 6 5 8 7 8 9 s -1 3 -1 4 c -1 0 -4 -2 -7 -5 z
m 0 -12 c -9 -7 -11 -11 -9 -15 1 -1 3 0 9 6 8 6 10 10 8 14 -1 1 -2 0 -8 -5 z
m -1 -13 c -5 -4 -9 -8 -9 -10 0 -3 0 -6 1 -6 0 0 5 3 9 7 9 7 9 8 9 12 0 2 0 4 -1 4 0 0 -5 -3 -9 -7 z
m 0 -13 c -9 -8 -10 -9 -10 -12 0 -7 1 -7 11 2 8 7 9 9 10 12 0 7 -1 7 -11 -2 z
m -5 -18 c -18 -15 -24 -22 -25 -27 -2 -10 3 -18 13 -21 4 -1 20 1 24 3 3 1 12 13 11 15 0 3 -11 0 -20 -6 -8 -7 -20 -2 -18 7 0 4 8 12 22 24 7 5 9 8 9 10 1 4 0 8 -1 8 0 0 -7 -6 -15 -13 z
m 5 -9 c -2 -3 -2 -4 -2 -14 V 45.5 l 3 2 c 2 1 2 2 2 13 l -1 12 z
m -2 -40 c -1 -1 -1 -2 -1 -4 s 0 -3 3 -3 c 4 0 4 1 4 4 s 0 3 -3 3 h -3 z
m 7 -14 c 0 3 -2 5 -5 5 s -5 -2 -5 -5 3 -5 5 -5 5 3 5 5 z
"
/>
</svg>
<script>
document.querySelector("[rel = icon]").href =
"data:image/svg+xml," +
encodeURIComponent(document.querySelector("svg#logo").outerHTML);
</script>
</div>
<h1 id = "welcome">Welcome, How can we help you today?</h1>
<main>
<section id = "Search" class = "show">
<div id = "searchBox">
<svg
id = "SearchLogoDisplay"
width = "200"
height = "200"
xmlns = "http://www.w3.org/2000/svg"
>
<use class = "dark" href = "#logo" />
</svg>
<input id = "searchInput" type = "text" data-gramm = "false" autocomplete = "off" aria-label = "Search">
<div id = "dropdown"></div>
</div>
</section>
<section id = "Appointment">
<form id = "appointmentForm">
<h2>Appointment with:</h2>
<input
type = "text"
id = "doctor"
name = "doctor"
readonly = ""
/>
<!-- <input -->
<!-- type = "text" -->
<!-- id = "hospital" -->
<!-- name = "hospital" -->
<!-- readonly = "" -->
<!-- /> -->
<input
type = "text"
id = "firstName"
name = "firstName"
placeholder = "First Name"
data-gramm = "false"
required = ""
/>
<input
type = "text"
id = "lastName"
name = "lastName"
placeholder = "Last Name"
data-gramm = "false"
required = ""
/>
<div id = "gender">
<div class = "radioInput">
<input type = "radio" id = "male" name = "gender" value = "male" required = "" />
<label for = "male">Male</label>
</div>
<div class = "radioInput">
<input type = "radio" id = "female" name = "gender" value = "female" required = "" />
<label for = "female">Female</label>
</div>
<div class = "radioInput">
<input type = "radio" id = "other" name = "gender" value = "other" required = "" />
<label for = "other">Other</label>
</div>
</div>
<label for = "time">Time:</label>
<input
type = "time"
id = "time"
name = "time"
min = "06:00"
max = "18:00"
step = "900"
required = ""
/>
<input type = "submit" />
</form>
</section>
</main>
</body>
</html>