-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (47 loc) · 1.74 KB
/
index.html
File metadata and controls
52 lines (47 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Python Script Merger</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="container">
<h1>Python Script Merger</h1>
<!-- Input Section -->
<!-- Input Section -->
<div class="input-section">
<div class="file-input">
<label for="fileInput1">Script 1:</label>
<div id="dropZone1" class="drop-zone">
<p>Drag & Drop Script 1 here or</p>
<button type="button" class="select-button" id="selectButton1">Select File</button>
<input type="file" id="fileInput1" accept=".py" hidden>
<span id="fileName1" class="file-name">No file selected</span>
</div>
<pre id="script1" class="code-block"><code></code></pre>
</div>
<div class="file-input">
<label for="fileInput2">Script 2:</label>
<div id="dropZone2" class="drop-zone">
<p>Drag & Drop Script 2 here or</p>
<button type="button" class="select-button" id="selectButton2">Select File</button>
<input type="file" id="fileInput2" accept=".py" hidden>
<span id="fileName2" class="file-name">No file selected</span>
</div>
<pre id="script2" class="code-block"><code></code></pre>
</div>
</div>
<!-- Merged Output Section -->
<div id="mergedSection">
<button id="mergeButton">Merge Scripts</button>
<div id="progressBar" class="progress-bar hidden">
<div class="progress"></div>
</div>
<pre id="diffOutput" class="code-block"><code></code></pre>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>