-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminhome.jsp
190 lines (145 loc) · 4.65 KB
/
adminhome.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
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1
response.setHeader("Pragma", "no-cache"); // HTTP 1.0
response.setDateHeader("Expires", 0);
%>
<!DOCTYPE html>
<html>
<head>
<title>ADMIN HOME</title>
<!-- bootstrap.min css -->
<link rel="stylesheet"
href="Homepage/adminhome/plugins/bootstrap/css/bootstrap.css">
<!-- Icofont Css -->
<link rel="stylesheet"
href="Homepage/adminhome/plugins/fontawesome/css/all.css">
<!-- animate.css -->
<link rel="stylesheet"
href="Homepage/adminhome/plugins/animate-css/animate.css">
<!-- Icofont -->
<link rel="stylesheet"
href="Homepage/adminhome/plugins/icofont/icofont.css">
<!-- Main Stylesheet -->
<link rel="stylesheet" href="Homepage/adminhome/css/style.css">
</head>
<style>
#container {
background-color: rgba(0, 0, 0, 0.8);
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 150px;
padding: 0;
margin: 0;
}
#container #navbar-brand {
margin: 10px;
}
</style>
<body>
<%
if(!session.isNew() || session.getAttribute("ADMIN") != null)
{
%>
<nav class="navbar navbar-expand-lg fixed-top trans-navigation">
<div class="container">
<a class="navbar-brand" href="adminhome.jsp">
<h3 style="color: white;">ADMIN HOME</h3>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#mainNav" aria-controls="mainNav" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"> <i class="fa fa-bars"></i>
</span>
</button>
<div class="collapse navbar-collapse justify-content-end"
id="mainNav">
<ul class="navbar-nav ">
<li class="nav-item"><a class="nav-link smoth-scroll"
href="#">Add Category</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll"
href="#">Delete Category</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll"
href="#">View Unconfirmed Orders</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll"
href="#">Add Products</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll"
href="#">View Available Products</a></li>
<ul class="navbar-nav-right">
<li><a class="nav-link smoth-scroll" href="logoutadmin.jsp"><span
class="glyphicon glyphicon-log-out"></span> Logout</a></li>
</ul>
</ul>
</div>
</div>
</nav>
<!--MAIN BANNER AREA START -->
<div class="banner-area banner-3">
<div class="overlay dark-overlay"></div>
<div class="d-table">
<div class="d-table-cell">
<div class="container">
<div class="row">
<div class="col-lg-8 m-auto text-center col-sm-12 col-md-12">
<div class="banner-content content-padding">
<h5 class="subtitle">...</h5>
<h1 class="banner-title">Admin operations are done through
this page.</h1>
<a href="#" class="btn btn-white btn-circled">Get started</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--MAIN HEADER AREA END -->
<!-- ABOUT AREA START -->
<!-- FOOTER AREA START -->
<section id="footer" class="section-padding">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<div class="footer-copy">2022 © All Rights Reserved.</div>
</div>
</div>
</div>
</section>
<!-- FOOTER AREA END -->
<!--
Essential Scripts
=====================================-->
<!-- Main jQuery -->
<script src="Homepage/adminhome/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4.3.1 -->
<script src="Homepage/adminhome/plugins/bootstrap/js/popper.min.js"></script>
<script src="Homepage/adminhome/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- Woow animtaion -->
<script src="Homepage/adminhome/plugins/counterup/wow.min.js"></script>
<script src="Homepage/adminhome/plugins/counterup/jquery.easing.1.3.js"></script>
<!-- Counterup -->
<script src="Homepage/adminhome/plugins/counterup/jquery.waypoints.js"></script>
<script
src="Homepage/adminhome/plugins/counterup/jquery.counterup.min.js"></script>
<!-- Google Map -->
<script src="Homepage/adminhome/plugins/google-map/gmap3.min.js"></script>
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAkeLMlsiwzp6b3Gnaxd86lvakimwGA6UA&callback=initMap"></script>
<!-- Contact Form -->
<script src="Homepage/adminhome/plugins/jquery/contact.js"></script>
<script src="Homepage/adminhome/js/custom.js"></script>
<%
}
else{
%>
<p style="color: red">You need to login first !!!</p>
<jsp:include page="adminlogin.html"></jsp:include>
<%
}
%>
</body>
</html>