-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddCamp.html
172 lines (150 loc) · 9.12 KB
/
AddCamp.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
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LIFE FLOW</title>
<link rel="icon" href="assets/Blood_Bank_Favicon.webp" type="image/webp">
<!-- <link href="Home.css" rel="stylesheet"> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<nav class="flex justify-between items-center bg-red-600 p-4">
<!-- Logo and Title Section -->
<div class="flex items-center space-x-3">
<i class="fas fa-tint text-white text-4xl"></i>
<p class="text-3xl font-semibold text-white">Life Flow</p>
</div>
<!-- Navigation Links Section -->
<ul class="flex space-x-6">
<li class="flex items-center space-x-2">
<i class="fas fa-home text-white"></i>
<a href="index.html" class="text-white text-lg font-medium hover:text-red-200 transition-colors">Home</a>
</li>
<li class="flex items-center space-x-2">
<i class="fas fa-info-circle text-white"></i>
<a href="AboutUs.html" class="text-white text-lg font-medium hover:text-red-200 transition-colors">About
Us</a>
</li>
<li class="flex items-center space-x-2">
<i class="fas fa-search text-white"></i>
<a href="/Blood_Availability_Search.html" class="text-white text-lg font-medium hover:text-red-200 transition-colors">Looking For
Blood</a>
</li>
<div id=" userSection" class="flex items-center space-x-3">
<a href="DonorLogin.html" id="userLink"
class="flex items-center space-x-2 text-white hover:text-red-200 transition-colors">
<img src="assets/user_default.jpeg" alt="User Icon"
class="user-logo w-8 h-8 rounded-full border-2 border-white">
<span id="userName">Guest</span>
</a>
</div>
</nav>
<div class="container my-5 p-5 bg-white rounded-lg shadow-lg">
<h1 class="text-center text-2xl font-bold text-gray-700 mb-4">Add New Blood Camp</h1>
<form id="campForm">
<div class="mb-4">
<label for="campName" class="block text-lg font-medium text-gray-600">Blood Camp Name</label>
<input type="text" id="campName" name="campName" class="w-full p-3 border border-gray-300 rounded-md" placeholder="Enter camp name" required>
</div>
<div class="mb-4">
<label for="location" class="block text-lg font-medium text-gray-600">Location</label>
<input type="text" id="location" name="location" class="w-full p-3 border border-gray-300 rounded-md" placeholder="Enter camp location" required>
</div>
<div class="mb-4">
<label for="campDate" class="block text-lg font-medium text-gray-600">Camp Date</label>
<input type="date" id="campDate" name="campDate" class="w-full p-3 border border-gray-300 rounded-md" required>
</div>
<div class="mb-4">
<label for="campStartTime" class="block text-lg font-medium text-gray-600">Camp Start Time</label>
<input type="time" id="campStartTime" name="campStartTime" class="w-full p-3 border border-gray-300 rounded-md" required>
</div>
<div class="mb-4">
<label for="campEndTime" class="block text-lg font-medium text-gray-600">Camp End Time</label>
<input type="time" id="campEndTime" name="campEndTime" class="w-full p-3 border border-gray-300 rounded-md" required>
</div>
<div class="mb-4">
<label for="contact" class="block text-lg font-medium text-gray-600">Contact Information</label>
<input type="text" id="contact" name="contact" class="w-full p-3 border border-gray-300 rounded-md" placeholder="Enter contact details" required>
</div>
<div class="mb-4">
<label for="description" class="block text-lg font-medium text-gray-600">Camp Description</label>
<textarea id="description" name="description" class="w-full p-3 border border-gray-300 rounded-md" rows="4" placeholder="Provide a brief description of the camp" required></textarea>
</div>
<button id="storeCamp" type="submit" class="w-full py-3 bg-blue-500 text-white rounded-md font-semibold hover:bg-blue-600 transition duration-200">Add Blood Camp</button>
</form>
</div>
<footer class="bg-gray-800 text-white py-12 w-full">
<div class="px-6 sm:px-12">
<!-- Footer Main Sections -->
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-8">
<!-- Quick Links -->
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="index.html" class="text-blue-400 hover:text-blue-600">Home</a></li>
<li><a href="Blood_Availability_Search.html" class="text-blue-400 hover:text-blue-600">Blood Availability</a></li>
<li><a href="Blood_Bank_Directory.html" class="text-blue-400 hover:text-blue-600">Blood Bank Directory</a></li>
<li><a href="Blood_Donation_Camps.html" class="text-blue-400 hover:text-blue-600">Donate Now</a></li>
<li><a href="contactUs.html" class="text-blue-400 hover:text-blue-600">Contact Us</a></li>
</ul>
</div>
<!-- Contact Info -->
<div>
<h3 class="text-lg font-semibold mb-4">Contact Info</h3>
<ul>
<li class="text-sm">Email: <a href="mailto:support@example.com"
class="text-blue-400 hover:text-blue-600">support@example.com</a></li>
<li class="text-sm">Phone: <a href="tel:+1234567890"
class="text-blue-400 hover:text-blue-600">+1 (234) 567-890</a></li>
<li class="text-sm">Address: 123 Street, City, Country</li>
</ul>
</div>
<!-- Follow Us -->
<div>
<h3 class="text-lg font-semibold mb-4">Follow Us</h3>
<div class="flex space-x-4">
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="Facebook">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="Twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="Instagram">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="LinkedIn">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<!-- Legal Information -->
<div>
<h3 class="text-lg font-semibold mb-4">Legal</h3>
<ul class="space-y-2">
<li><a href="#" class="text-blue-400 hover:text-blue-600">Privacy Policy</a></li>
<li><a href="#" class="text-blue-400 hover:text-blue-600">Terms & Conditions</a></li>
<li><a href="#" class="text-blue-400 hover:text-blue-600">Accessibility</a></li>
<li><a href="#" class="text-blue-400 hover:text-blue-600">Cookie Policy</a></li>
</ul>
</div>
</div>
<!-- Footer Bottom Section -->
<div class="mt-8 border-t border-gray-600 pt-6 text-center text-sm">
<p>© 2025 LIFE FLOW Pvt Ltd. All rights reserved.</p>
<p class="text-gray-400">Last Updated: Jan 6, 2025</p>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js"
integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"
crossorigin="anonymous"></script>
<script src="https://cdn.tailwindcss.com"></script>
<script src="AddCamp.js"></script>
</body>
</html>