-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (60 loc) · 2.22 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>BadUSB Maker v0.3</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app">
<header>
<h1>BadUSB Maker v0.3</h1>
<div id="toolbar">
<button id="new-script">New Script</button>
<button id="load-example">Load Example</button>
<button id="load-file">Load File</button>
<input type="file" id="file-input" style="display: none;" accept=".txt">
<button id="generate-script">Generate Script</button>
<button id="help-button">Help</button>
</div>
</header>
<main id="main-container">
<div id="node-panel">
<div id="cluster-list">
<h3>Clusters</h3>
<!-- Cluster commands will be dynamically loaded here -->
</div>
<div id="command-list">
<h3>Individual Commands</h3>
<!-- Individual commands will be dynamically loaded here -->
</div>
</div>
<div id="workspace-container">
<canvas id="connection-layer"></canvas> <!-- Layer for connections -->
<div id="workspace">
<!-- Workspace for nodes -->
</div>
</div>
</main>
<div id="output-section">
<h2>Generated Script</h2>
<textarea id="output" rows="10" readonly></textarea>
<button id="copy-script">Copy to Clipboard</button>
<button id="download-script">Download Script</button>
</div>
</div>
<!-- Modals -->
<div id="modal-background"></div>
<div id="help-modal" class="modal">
<div class="modal-content">
<span class="close-button" id="close-help-modal">×</span>
<h2>Help</h2>
<div id="help-content">
<!-- Help content dynamically loaded -->
</div>
</div>
</div>
<!-- JavaScript -->
<script type="module" src="main.js"></script>
</body>
</html>