-
Notifications
You must be signed in to change notification settings - Fork 0
/
components.html
186 lines (176 loc) · 8.6 KB
/
components.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Components</title>
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./fontawesome-free-5.13.0-web/css/all.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" />
<link rel="stylesheet" href="css/elementStyle.css" />
<link rel="stylesheet" href="css/interactionComponents.css" />
<script src="client/jquery-3.5.1.min.js"></script>
<script src="client/partChoosingComponents.js"></script>
<script src="client/logic.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-md bg-dark navbar-dark sticky-top">
<a class="navbar-brand" href="index.html">PC Workbench</a>
<ul class="navbar-nav">
<li class="nav-item mx-2">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item mx-2">
<a class="nav-link" href="pre-built.html">Prebuilt PCs</a>
</li>
<li class="nav-item mx-2">
<a class="nav-link" href="build-PC.html">Build PC</a>
</li>
<li class="nav-item active mx-2">
<a class="nav-link" href="components.html">Components</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item mx-2">
<a class="nav-link" href="register.html"><i class="fas fa-user"></i> Sign Up</a>
</li>
<li class="nav-itme mx-2">
<a class="nav-link" href="login.html"><i class="fas fa-sign-in-alt fa-lg"></i></span> Sign In</a>
</li>
<li class="nav-itme mx-2">
<a class="nav-link" href="cart.html"><i class="fas fa-shopping-cart"></i></span> Cart</a>
</li>
</ul>
</nav>
<div class="content">
<div id="filters" class="border rounded text-dark">
<h5 class="mt-3 text-center">Filters</h5>
<hr />
<div class="priceRange px-4">
<div class="mb-1 font-weight-bold">Lowest price:
<span id="minPriceView">50$</span>
</div>
$0
<span class="float-right">$1000</span>
<input id="minPrice" type="range" min="1" max="1000" value="50" class="slider" onchange="filterPrice(event)" />
<div class="mt-3 mb-1 font-weight-bold"> Highest price:
<span id="maxPriceView">$1000</span>
</div>
$0
<span class="float-right">$1000</span>
<input id="maxPrice" type="range" min="1" max="1000" value="1000" class="slider" onchange="filterPrice(event)" />
</div>
<hr />
<div class="px-4 mb-3">
<div class="ml-1 mb-1 font-weight-bold">Type</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="all" onchange="filterIt(event)" checked>
<label class="custom-control-label" for="all">All</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="motherboard" onchange="filterIt(event)">
<label class="custom-control-label" for="motherboard">Mother Board</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="cpu" onchange="filterIt(event)">
<label class="custom-control-label" for="cpu">CPU</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="gpu" onchange="filterIt(event)">
<label class="custom-control-label" for="gpu">GPU</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="ram" onchange="filterIt(event)">
<label class="custom-control-label" for="ram">RAM</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="storage" onchange="filterIt(event)">
<label class="custom-control-label" for="storage">Storage</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="power" onchange="filterIt(event)">
<label class="custom-control-label" for="power">Power supply</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="chassis" onchange="filterIt(event)">
<label class="custom-control-label" for="chassis">Case</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="fan" onchange="filterIt(event)">
<label class="custom-control-label" for="fan">CPU Cooler</label>
</div>
<div class="custom-control custom-checkbox" style="height: 200px !important">
</div>
</div>
</div>
<div>
<div class="row mb-2 mx-2 text-secondary">
<div class="col-1">
<span class="border-bottom border-secondary">Image</span>
</div>
<div class="col-4">
<span class="border-bottom border-secondary">Component</span>
</div>
<div class="col-3">
<span class="border-bottom border-secondary">Spec</span>
</div>
<div class="col-2">
<span class="border-bottom border-secondary">Spec</span>
</div>
<div class="col-1">
<span class="border-bottom border-secondary">Price</span>
</div>
</div>
<div id="components" class="border-bottom">
<div class="element">
<img class="image" src="images/mb.jpg" alt="productImage" />
<div class="name">Data</div>
<div class="data1">Data</div>
<div class="data2">Data</div>
<div class="price">100 US$</div>
<button class="addButton" onclick="addComponent()">Add</button>
</div>
<div class="element incompatible">
<img class="image" src="images/mb.jpg" alt="productImage" />
<div class="name">Data</div>
<div class="data1">Data</div>
<div class="data2">Data</div>
<div class="price">100 US$</div>
<button class="addButton">Add</button>
</div>
<div class="element incompatible-message">
Incompatible with cpu <i class="fas fa-exclamation-circle"></i>
</div>
</div>
</div>
</div>
<footer class="page-footer font-small bg-dark text-white-50 pt-1">
<div class="container text-center">
<div class="row">
<div class="col-8 mt-3">
<h5 class="text-uppercase mb-3">PC Workbench</h5>
<p>Our aim is to help computer enthusiasts build their dream computer. We achieve our goal by
presenting a wide variaty of components for the customer to choose from.</p>
<p>This site also allows our users to buy completed builts and separate components.</p>
</div>
<div class="col-4 mt-3">
<h5 class="text-uppercase">Customer support</h5>
<ul class="list-unstyled">
<li class="text-break">
E-mail: suppport@PCWorkBench.com
</li>
<li>
Live line: 088888888
</li>
<li>
Live chat: link
</li>
<li>
Address: adress
</li>
</ul>
</div>
</div>
</div>
</footer>
</body>
</html>