-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (109 loc) · 3.59 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<!-- <meta
http-equiv="X-Content-Security-Policy"
content="default-src 'self'; script-src 'self'"
/> -->
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="node_modules\@fortawesome\fontawesome-free\css\all.min.css"
/>
<link rel="stylesheet" href="node_modules\bootstrap\dist\css\bootstrap.min.css" />
<script src="node_modules\@fortawesome\fontawesome-free\js\all.min.js"></script>
<script src="node_modules\bootstrap\dist\js\bootstrap.min.js"></script>
<title>Split Audio Files</title>
</head>
<body>
<br />
<div class="container folderPathContainer">
<div class="form-group" x-data="{ fileName: '' }">
<div class="input-group shadow">
<span class="input-group-text px-3 text-muted"
><i class="fas fa-music fa-lg"></i
></span>
<input
type="file"
id="hiddenInputFile"
webkitdirectory
directory
multiple
x-ref="file"
@change="fileName = $refs.file.files[0].name"
name="img[]"
class="d-none"
/>
<input
type="text"
id="inputDestPath"
class="form-control form-control-lg"
placeholder="\Season 3\MW 313\MW 313 1m01 FF1 v1.0"
x-model="fileName"
/>
<button
class="browse btn btn-primary px-4"
id="browseButton"
type="button"
x-on:click.prevent="$refs.file.click()"
>
<i class="fas fa-folder-open"></i> Browse
</button>
</div>
</div>
<div class="grid-container" style="display: flex; justify-content: space-between">
<div class="grid-item">
<div>
<div class="switchButton" style="float: left">
<input type="checkbox" id="interleavedSwitch" on:click="" /><label
for="interleavedSwitch"
id="switchLabel"
>Toggle</label
>
</div>
<span style="float: left; padding-top: 24px; padding-left: 10px"
>Interleaved</span
>
</div>
</div>
<div
class="grid-item"
style="margin-top: auto; padding-top: 25px; padding-left: 40px; float: right"
>
<div style="position: relative; width: 100%; height: 40px">
<span style="float: left; padding-right: 10px"
>Silent Detection Threshold:</span
>
<div class="silenceTolerance" style="float: left">
<input type="text" id="silenceToleranceInput" value="80" />
</div>
</div>
</div>
</div>
</div>
<br />
<div class="container">
<div class="row">
<div id="dropZone">
<div class="icon"><i class="fas fa-cloud-upload-alt"></i></div>
<span>Drag Audio Files Here</span>
</div>
</div>
<!-- <div class="row"> -->
<div id="outer-bar-loading" class="outer-bars">
<div id="inner-bar-loading" class="inner-bars"></div>
</div>
<!-- </div> -->
<div class="row">
<section id="main-app" class="main-app"></section>
</div>
<div class="row">
<div id="finalMessage" class="finalMessage"></div>
</div>
</div>
</body>
<script src="renderer.js" type="module"></script>
</html>