-
Notifications
You must be signed in to change notification settings - Fork 2
/
appoint.html
157 lines (129 loc) · 4.55 KB
/
appoint.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hospital Appointment</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"
integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js"
integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="hospitalpage.css">
</head>
<body>
<nav>
<!-- this div for heart animation -->
<div class="main_header">
<div class="center-div"></div>
<div class="nav__logo">MedLink Services</div>
</div>
<ul class="nav__links">
<li class="link"><a href="hospitalpage.html">Home </a></li>
<li class="link"><a href="locationForm.html">Beds availability</a></li>
<li class="link"><a href="appoint.html">Book Appointment </a></li>
<li class="link"><a href="Aboutus.html">About Us </a></li>
<li class="link"><a href="contactus.html">Contact Information</a></li>
</ul>
<button style="background-color:#046585;" class="btn1"><a style="color: white;" href="login.html">Login / SignUp</a></button>
</nav>
<style>
</style>
<div class="parent">
<div class="container">
<h1>Book an Appointment</h1>
<form id="appointmentForm">
<div class="form-group">
<label for="fullName">Full Name:</label>
<input type="text" id="fullName" name="fullName" required style="color:black">
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required style="color:black">
</div>
<div class="form-group">
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone" required style="color:black">
</div>
<div class="form-group">
<label for="date">Preferred Date:</label>
<input type="date" id="date" name="date" required style="color:black">
</div>
<div class="form-group">
<label for="time">Preferred Time:</label>
<input type="time" id="time" name="time" required style="color:black">
</div>
<div class="form-group">
<label for="message">Additional Information:</label>
<textarea id="message" name="message" rows="4"></textarea>
</div>
<div>
<button type="submit" style="margin-left:500px; width:100px">Submit</button>
</div>
</form>
</div>
</div>
</body>
</html>
<style>
.container {
width: 100vw;
}
.parent {
display: flex;
justify-content: center;
width: 99vw;
overflow-x: hidden;
background-color: #046585;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f4;
}
.container {
margin: 30px;
width: 100vw;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea {
width: calc(100% - 12px);
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
padding: 10px 20px;
background-color: #007bff;
border: none;
border-radius: 4px;
width: auto;
cursor: pointer;
font-size: 16px;
color:white;
}
button:hover {
background-color: #0056b3;
}
</style>