-
Notifications
You must be signed in to change notification settings - Fork 0
/
pc-parts-testing.html
59 lines (57 loc) · 2.59 KB
/
pc-parts-testing.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
<!DOCTYPE html>
<html lang="en">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PC Building Website</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
<link href="pc-parts/pc_parts_styles.css" rel="stylesheet"></link>
</head>
<body class="font-sans">
<div class="container mx-auto px-4 py-8">
<h1 class="text-4xl font-bold text-center mb-8">PC Building Website</h1>
<div class="flex flex-col md:flex-row gap-8">
<div class="filters p-6 md:w-1/4">
<h2 class="text-2xl font-semibold mb-4">Item Filters</h2>
<div class="mb-4">
<label for="price-limit-input" class="block mb-2">Max Price:</label>
<input type="number" id="price-limit-input" value="100000" class="w-full p-2">
</div>
<div class="mb-4">
<label for="name-input" class="block mb-2">Name Filter:</label>
<input type="text" id="name-input" class="w-full p-2">
</div>
<div id="type-checkboxes" class="mb-4">
<h3 class="text-lg font-semibold mb-2">Filter by Type:</h3>
<button id="type-deselect">Deselect All</button>
</div>
<div id="brand-checkboxes" class="mb-4">
<h3 class="text-lg font-semibold mb-2">Filter by Brand:</h3>
<button id="brand-deselect">Deselect All</button>
</div>
</div>
<div class="md:w-3/4">
<table class="w-full">
<thead>
<tr>
<th class="p-3 text-left" col="1">Type</th>
<th class="p-3 text-left" col="2">Brand</th>
<th class="p-3 text-left" col="3">Name</th>
<th class="p-3 text-left" col="4">Price</th>
</tr>
</thead>
<tbody id="table-body">
</tbody>
</table>
</div>
</div>
</div>
<div id="pagination">
</div>
<script src="pc-parts/part_fetch_show_copy.js"></script>
</body>
</html>