-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadminDashboard.jsp
376 lines (336 loc) · 7.28 KB
/
adminDashboard.jsp
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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Averia Gruesa Libre' rel='stylesheet'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body, html {
font-family: 'Averia Gruesa Libre';
height: 100%;
}
/* Full-width input fields */
input[type=email], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
outline: none;
border-radius: 30px 30px 30px 30px;
box-sizing: border-box;
}
/* Set a style for all buttons */
button {
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
outline: none;
cursor: pointer;
width: 100%;
}
button:hover {
opacity: 0.8;
}
.inv {
background: transparent;
width: 100%;
outline: none;
font: 400 130px/0.8 'Great Vibes', Helvetica, sans-serif;
color: #f08d3c;
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.7);
}
.inv:hover {
opacity: 0.6;
outline: none;
}
/* Extra styles for the cancel button */
.re {
width: auto;
padding: 10px 18px;
background-color: #4CAF50;
outline: none;
border-radius: 30px 30px 30px 30px;
}
.re1 {
width: 15% auto;
padding: 10px 18px;
background-color: #4CAF50;
text-align: center;
outline: none;
border-radius: 30px 30px 30px 30px;
}
/* Center the image and position the close button */
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
position: relative;
}
img.avatar {
width: 40%;
border-radius: 50%;
}
.container {
padding: 16px;
border-radius: 0px 0px 0px 30px;
}
span.psw {
float: right;
padding-top: 16px;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0, 0, 0); /* Fallback color */
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
padding-top: 90px;
}
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 5% auto 15% auto;
/* 5% from the top, 15% from the bottom and centered */
border: 4px double rgba(28, 110, 164, 0.52);
border-radius: 30px 30px 0px 30px;
width: 50%; /* Could be more or less, depending on screen size */
}
/* The Close Button (x) */
.close {
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
}
.close:hover, .close:focus {
color: red;
cursor: pointer;
}
/* Add Zoom Animation */
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}
@
-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)
}
to {
-webkit-transform: scale(1)
}
}
@
keyframes animatezoom {
from {transform: scale(0)
}
to {
transform: scale(1)
}
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
/* for top tab*/
.tablink {
background: transparent;
color: #fff;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
font-size: 20px;
width: 14.28%;
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.2);
}
.tablink:after {
background: transparent;
}
/* Style the tab content */
.tabcontent {
color: white;
display: none;
padding: 50px;
align-content: 75%;
text-align: center;
}
.bg {
/* The image used */
/* background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQmBzZMZtm0TGbEKnQwOoVPANmlme9LhZTT-amIUDvMTwGQUIoP"); */
background-image: url("images/close-up-photo-of-berries-1379636 (1).jpg");
/* Full height */
height: 100%;
/* Center and scale the image nicely */
background-position: center;
background-repeat: repeat;
background-size: cover;
}
.footer2 {
position: absolute;
color: white;
bottom: 0;
left:0%;
text-align: center;
width: 50%;
font-size: 40px;
}
.footer1 {
position: absolute;
color: white;
bottom: 0;
left:50%;
text-align: center;
width: 50%;
font-size: 40px;
}
#gradient {
width: 100%;
height: 800px;
padding: 0px;
margin: 0px;
}
* {
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.5);
}
h1 {
font-size:40px;
color: #fff;
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.5);
}
h2 {
font-size:50px;
color: #f08d3c;
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.7);
}
p {
font-size:20px;
color: #fff;
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1);
}
h4 {
font-size:20px;
color: #fff;
text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1);
}
/*---------------------table things-------------------------*/
#notApprovedCrops {
top:70%;
left:0%;
position:absolute;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #fff;
width: 45%;
text-align: center;
}
#notApprovedCrops td, #notApprovedCrops th {
padding: 8px;
color: #fff;
}
#notApprovedCrops th {
font-family: "Times New Roman", Times, serif;
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
color: #fff;
}
#approvedCrops {
top:70%;
left:55%;
position:absolute;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #fff;
width: 45%;
text-align: center;
}
#approvedCrops th {
font-family: "Times New Roman", Times, serif;
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
color: #fff;
}
tbody{
height: 200px;
width: 100%;
overflow: auto;
}
</style>
<link href='http://fonts.googleapis.com/css?family=Great+Vibes'
rel='stylesheet' type='text/css'>
</head>
<body class="bg">
<div style="top: 0;">
<button class="tablink"
onclick="window.location.href = 'adminDashboard.jsp';">Home
Page</button>
<button class="tablink"
onclick="window.location.href = 'fetchAllUnverifiedCrops.rsvp';">Crop
Approval</button>
<button class="tablink"
onclick="window.location.href = 'fetchAllBidding.rsvp';">Bidding
Approval</button>
<button class="tablink"
onclick="window.location.href = 'fetchSoldBidding.rsvp';">Sold
Crops</button>
<button class="tablink"
onclick="window.location.href = 'fetchAllFarmers.rsvp';">List Farmers</button>
<button class="tablink"
onclick="window.location.href = 'fetchAllBidders.rsvp';">List Bidders
</button>
<button class="tablink"
onclick="window.location.href = 'adminLogout.rsvp';">Logout</button>
</div>
<div>
<h2 style="left: 42%; top: 15%; position: absolute;">Welcome</h2>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<center>
<h2>${sessionScope.loggedInAdmin.adminEmail }</h2>
</center>
</div>
</div>
<div id="AboutUs" class="footer1">
<h1>About Us</h1>
<p>
We will change the future with the help of <strong>Farmers</strong>.
</p>
</div>
<div id="ContactUs" class="footer2">
<h4>Contact Us</h4>
<p>Priyankya Roy</p>
<p>Vishal and Satya</p>
<p>RaviThejaReddy</p>
</div>
<!-- ************************************************************************************************************ -->
<!-- ************************************************************************************************************ -->
<!-- ************************************************************************************************************ -->
<!-- homepage contactus aboutus Things ends here-->
<!-- Start of Scripts -->
<!-- End of Scripts -->
</div>
</body>
</html>