-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor.html
More file actions
54 lines (50 loc) · 1.98 KB
/
editor.html
File metadata and controls
54 lines (50 loc) · 1.98 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Barter Master Data Editor</title>
<link href="css/bootstrap-5.3.3.min.css" rel="stylesheet">
<style>
body { background-color: #1e1e1e; color: #f0f0f0; }
table img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
td, th { vertical-align: middle !important; }
.paste-area { border: 1px dashed #888; padding: 4px; text-align: center; cursor: pointer; }
.paste-area:hover { background-color: #333; }
select.form-select-sm { width: auto; display: inline-block; }
</style>
</head>
<body class="p-4">
<div class="container">
<h2 class="mb-4">⚓ Barter Master Data Editor</h2>
<div class="mb-3 d-flex flex-wrap align-items-center gap-2">
<button id="btnAdd" class="btn btn-success btn-sm">➕ Add Item</button>
<button id="btnExport" class="btn btn-primary btn-sm">💾 Export JSON</button>
<button id="btnClearLocal" class="btn btn-danger btn-sm">🧹 Clear Local Data</button>
<div class="ms-auto">
<label for="tierFilter" class="me-2 fw-bold">Filter Tier:</label>
<select id="tierFilter" class="form-select form-select-sm">
<option value="1" selected>Tier 1</option>
<option value="2">Tier 2</option>
<option value="3">Tier 3</option>
<option value="4">Tier 4</option>
<option value="5">Tier 5</option>
<option value="all">All</option>
</select>
</div>
</div>
<table class="table table-dark table-striped align-middle">
<thead class="text-center">
<tr>
<th style="width: 10%">Image</th>
<th style="width: 40%">Item Name</th>
<th style="width: 20%">Tier</th>
<th style="width: 10%">Actions</th>
</tr>
</thead>
<tbody id="itemTableBody"></tbody>
</table>
</div>
<script src="js/master.js"></script>
</body>
</html>