-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadminpage.ejs
317 lines (290 loc) · 9.82 KB
/
adminpage.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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Latest compiled and minified CSS -->
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<title>Admin page</title>
<style>
#main-wrapper{
width: 700px;
margin: 0 auto;
background: white;
padding: 5px;
border-radius: 10px;
border: 2px solid #6c5ce7;
}
#insert-wrapper{
width: 700px;
margin: 0 auto;
background: white;
padding: 5px;
border-radius: 10px;
}
.myform{
width: 450px;
margin: 0 auto;
}
#logout_btn{
background-color: #4CAF50;
padding: 14px 20px;
color: white;
width:96%;
cursor: pointer;
text-align: center;
font-size: 18px;
font-weight: bold;
}
.column {
padding-left: 10px;
padding-right: 10px;
column-gap: 100px;
float: left;
width: 20%;
}
.row:after {
content: "";
display: table;
clear: both;
}
.full-footer{
background-color: #192a56;
width: 100%;
bottom: 0;
}
/* blood bank body*/
.top-footer p{
color: white;
}
.top-footer a{
color: white;
font-weight: 600;
}
.top-footer h3{
color: white;
}
.bottom-footer{
background-color: #192a56;
}
.bottom-footer p{
background-color: white;
text-align:center;
}
#topheader{
border-bottom: 1px solid silver;
}
#topheader a{
color: #130f40;
font-weight: 600;
font-size: 0.89rem;
padding: 0;
box-sizing: border-box;
}
body{
font-family: montserrat;
}
/* Navbar container */
.navbar {
overflow: hidden;
background-color: black;
font-family: Arial;
}
/* Links inside the navbar */
.navbar a {
float: left;
display: block;
font-size: 16px;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar a:hover {
background-color: green;
color: white;
}
.navbar a.active{
background-color: #4CAF50;
color: white;
}
/* The dropdown container */
.dropdown {
float: left;
overflow: hidden;
}
/* Dropdown button */
.dropdown .dropbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit; /* Important for vertical align on mobile phones */
margin: 0; /* Important for vertical align on mobile phones */
}
/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
background-color: green;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
/* Add a background color to dropdown links on hover */
.dropdown-content a:hover {
background-color: #ddd;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
</style>
</head>
<body>
<header>
<div class="p-1" id="topheader">
<div class="container">
<div class="row">
<div class="col-12 text-right">
<a class="p-1" href="tel:+ 0123456789"> <i class="fa fa-phone"></i> + 0123456789</a>
<a class="p-1" href="mailto: [email protected]"><i class="fa fa-envelope"></i>[email protected]</a>
</div>
</div>
</div>
</div>
<div class="navbar">
<a href="default"> HOME</a>
<a class="active" href="adminpage"> ADMIN PAGE</a>
<div class="dropdown">
<button class="dropbtn">STAFF <i class="fa fa-caret-down"></i></button>
<div class="dropdown-content">
<a href="regstaff">STAFF INFO</a>
<a href="regstaffinsert">ADD STAFF</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">DONOR <i class="fa fa-caret-down"></i></button>
<div class="dropdown-content">
<a href="donor">DONOR INFO</a>
<a href="donorinsert">ADD DONOR</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">MANAGER <i class="fa fa-caret-down"></i></button>
<div class="dropdown-content">
<a href="manager">MANAGER INFO</a>
<a href="managerinsert">ADD MANGER</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">HOSPITAL <i class="fa fa-caret-down"></i></button>
<div class="dropdown-content">
<a href="hospital">HOSPITAL INFO</a>
<a href="hospitalinsert">ADD HOSPITAL</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">RECEIVER <i class="fa fa-caret-down"></i></button>
<div class="dropdown-content">
<a href="receiver"> RECEIVER INFO</a>
<a href="receiverinsert">ADD RECEIVER</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">DISEASE RECOGNIZER <i class="fa fa-caret-down"></i></button>
<div class="dropdown-content">
<a href="recognizer"> RECOGNIZER INFO</a>
<a href="recognizerinsert">ADD RECOGNIZER</a>
</div>
</div>
<a href="bloodbank"> BLOOD BANK</a>
<a href="blood">BLOOD</a>
</div>
</header>
<hr>
</div>
<div class="continer-fluid">
<div id="main-wrapper">
<center><h2>Home page</h2>
<h3>Welcome Admin</h3>
<img src="https://image.flaticon.com/icons/svg/2705/2705118.svg" alt="" width="150" height="150" >
</center>
<form class="myform" action="">
<a href="default"><input type="button" id="logout_btn" value="Log Out" ></a>
</form>
</div>
</div>
<hr>
<footer class="full-footer">
<div class="container top-footer">
<div class="row">
<div class="column">
<img class="img-fluid" src="https://www.ispecimen.com/wp-content/uploads/2016/01/blood-156063_960_720.png" height="100px" width="100px" alt="">
<p> “Your blood is replaceable. A life is not.” <br>
“Your little effort can give others second chance to live life.” <br>
“To give blood you need neither extra strength nor extra food, and you will save a life.”<a href="#">Read more....</a></p>
<a style="color: white" class="p-1" href="#" ><i class="fa fa-envelope" aria-hidden="true"></i>
</a>
<a style="color: white" class="p-1" href="#" ><i class="fa fa-twitter" aria-hidden="true"></i></a>
<a style="color: white" class="p-1" href="#" ><i class="fa fa-facebook-official" aria-hidden="true"></i></a>
<a style="color: white" class="p-1" href="#" ><i class="fa fa-instagram" aria-hidden="true"></i>
</a>
</div>
<div class="column">
<h3>Important links</h3>
<a href="https://en.wikipedia.org/wiki/Blood_donation_in_India" ><i>Blood Donation</i></a><br>
<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6033128/"> <i>Soical awareness</i> </a><br>
<a href="https://www.brmsonline.com/blog/wellness/healthcare/2018/benefits-of-blood-donation"> <i>Health Benefits</i> </a><br>
<a href="https://www.redcrossblood.org/donate-blood/blood-donation-process/donation-process-overview.html"> <i>Blood Donatin Process</i> </a><br>
</div>
<div class="column ">
<h3>Our Services</h3>
<a href="#">Govt</a><br>
<a href="#">Our Camps</a><br>
<a href="#">Our Users</a><br>
<a href="#">Social Services</a><br>
</div>
<div class="column">
<h3>Contact Us</h3>
<a class="p-1" href="tel:+ 0123456789"> <i class="fa fa-phone" aria-hidden="true"></i> + 0123456789</a><br>
<a class="p-1" href="mailto: [email protected]"><i class="fa fa-envelope" aria-hidden="true"></i>[email protected]</a><br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="" frameborder="0"></iframe>
</div>
</div>
</div>
</div>
<div class="container-fluid bottom-footer">
<div class="row">
<div class="col text-center">
<p>
Copyrights @ 2020 - All rights reserved
</p>
</div>
</div>
</div>
</footer>
</body>
</html>