-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadministrator.html
165 lines (133 loc) · 5.28 KB
/
administrator.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Admin Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href='http://fonts.googleapis.com/css?family=Amatic+SC' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="main-css.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Amatic+SC' rel='stylesheet' type='text/css'>
<script>
function myFunction() {
var x = document.getElementById("addNewProduct");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
</head>
<style>
.navbar
{
min-height: 68px;
margin-bottom : 0px !important;
}
</style>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="main.html"><img src="storu.jpg" width="90px" height="35px"></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a href="main.html"><span class="glyphicon glyphicon-log-in"></span> Logout</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> My Account</a></li>
</ul>
<ul class="nav navbar-nav navbar-left">
<li class="overview"><a href="#"> Overview </a>
</li>
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product Detail <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Television</a></li>
<li><a href="#">Desktop Computers</a></li>
<li><a href="#">Monitors</a></li>
<li><a href="#">Laptops</a></li>
<li><a href="#">Tablets</a></li>
</ul>
</li>
<li><a href="#"> Settings </a>
</li>
</ul>
</div>
</nav>
<!-- Left sidebar -->
<!-- >
<aside class="leftbar" style="z-index:3; width:250px; ">
<hr>
<ul class="list-accordion tree-style">
<div class="container-top" style="font-size:20px; list-style-type:none;">
<li class="list-title"> Dashboard </li>
<li><a href="#"><i class="view-web"></i><span class="overview page"> Overview </span></a></li>
<li><a href="#"><i class="view-web"></i><span class="view page"> Views </span></a></li>
<li><a href="#"><i class="view-web"></i><span class="setting page"> Settings </span></a></li>
</div>
</ul>
</aside>
<-->
<!-- Main Part -->
<section class="main-container">
<main id="main-container"><div class="content bg-image overflow-hidden" >
<div class="push-50-t push-15">
<h1 class="h2 text-white animated zoomIn" > Dashboard</h1>
</div>
</div>
<div class="main" style="margin-left:100px;margin-top:43px;">
<!--Functional button-->
<div class="botton">
<div class="quarter">
<button onclick="myFunction()" style="float: center-left; "><h4> Add Product </h4></button>
<button style="float: center; "><h4> Update </h4></button>
<button style="float: center-right; "><h4> Remove Product </h4></button>
</div>
</div>
</div>
</section>
<article>
<div id = "addNewProduct">
<div class="add column productbox">
<h5> Choose the type of the product </h5>
<select style="font-size = 20px;">
<option value="Television">Television</option>
<option value="Desktop Computers">Desktop Computers</option>
<option value="Monitors">Monitors</option>
<option value="Laptops">Laptops</option>
<option value="Tablets">Tablets</option>
</select><br><br>
<div class="detail-of-product" >
<input type="text" placeholder="Brand Name"/><br><br>
<input type="text" placeholder="Price"/><br><br>
<input type="text" placeholder="Model Number"/><br><br>
<input type="text" placeholder="Dimention (cm)"/><br><br>
<input type="text" placeholder="Weight"/><br><br>
<input type="text" placeholder="Processor Type"/><br><br>
<input type="text" placeholder="RAM size"/><br><br>
<input type="number" placeholder="Number of CPU cores"/><br><br>
<input type="text" placeholder="Hard drive size"/><br><br>
<input type="text" placeholder="Size"/><br><br>
<input type="text" placeholder="Battery Information"/><br><br>
<input type="text" placeholder="Operating System"/><br><br>
<input type="text" placeholder="Camera (Y/N)"/><br><br>
<input type="text" placeholder="Touch-screen (Y/N)"/><br><br>
<input type="submit" value="Submit">
<input type="reset">
</div>
</div></div>
<div id = "removeNewProduct">
<div class="remove column productbox">
<img src="product-images/mbp13touch.jpeg" class="img-responsive">
<div class="producttitle">MacBook Pro 13inch + TouchBar</div>
<div class="productprice"><div class="pull-right">
<a href="#" class="btn btn-danger btn-sm" role="button">modify</a>
<a href="#" class="btn btn-danger btn-sm" role="button">remove</a></div>
<div class="pricetext">$1599.99</div></div>
</div></div>
</article>
</body>
</html>