-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (121 loc) · 3.8 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html data-theme="light" lang="en">
<head>
<title>Manage EQ files</title>
<meta content="text/html;charset=utf-8" http-equiv="content-type">
<meta content="width=device-width, initial-scale=1" name="viewport">
<script src="https://cdn.plot.ly/plotly-2.35.2.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css" rel="stylesheet">
<style>
.is-active {
display: initial;
}
.hidden {
display: none;
}
.graph {
width: max(400px, 100%);
}
.card-min {
min-block-size: min(340px, 60%);
width: max(340px, 25%);
}
</style>
</head>
<body>
<div class="includes" data-name="assets/symbols" data-ext="xml">Loading...</div>
<div class="includes" data-name="assets/menu" data-ext="html">Loading...</div>
<div class="section">
<nav id="stepSelect" class="panel">
<p class="panel-heading">Pick an EQ file</p>
<p class="panel-tabs">
<a class="is-active" id="tabUpload" data-target="blockUpload">Upload</a>
<a id="tabSpin" data-target="blockSpin">From speaker database</a>
</p>
<div class="panel-block is-active" id='blockUpload'>
<form enctype="multipart/form-data" id="uploadEQ" method="post">
<div class="field">
<div class="control">
<div class="file is-boxed">
<label class="file-label">
<input accept="plain/*" class="file-input" id="file" name="file" type="file" multiple>
<span class="file-cta">
<span class="file-label"> Choose a file… </span>
</span>
</label>
</div>
</div>
</div>
</form>
<div class="content" id="file-name"></div>
</div>
<div class="panel-block" id="blockSpin" hidden>
<form id="getEQFromSpinorama" method="get">
<div class="field">
<label for="selectSpeakers" class="label">From speaker database</label>
<div class="control">
<select id="selectSpeakers"></select>
</div>
</div>
<div class="field">
<label for="selectSpeakerEQ" class="label">Pick an EQ</label>
<div class="control">
<select id="selectSpeakerEQ" hidden></select>
</div>
</div>
</form>
</div>
</nav>
</div>
<div class="section" id="plots" hidden></div>
<div id="stepConvert" class="section" hidden>
<nav class="panel is-primary" id="convertEQ">
<p class="panel-heading">Convert</p>
<p class="panel-block">
<div class="box">
<div class="field">
<label class="label">Select format and convert:</label>
<div class="control">
<div class="select">
<label for="selectFormat"></label>
<select id="selectFormat" name="selectFormat">
<option value="aupreset">AUPreset</option>
<option value="apo">APO</option>
<option value="rmetmeq">Rme TotalMix Chanel EQ</option>
<option value="rmetmreq">Rme TotalMix Room EQ</option>
</select>
</div>
</div>
</div>
<div class="field" id="leftChannel" hidden>
<label class="label">Select EQ for left channel:</label>
<div class="control">
<div class="select">
<label for="selectLeftChannel"></label>
<select id="selectLeftChannel" name="selectLeftChannel">
</select>
</div>
</div>
</div>
<div class="field" id="rightChannel" hidden>
<label class="label">Select EQ for right channel:</label>
<div class="control">
<div class="select">
<label for="selectRightChannel"></label>
<select id="selectRightChannel" name="selectRightChannel">
</select>
</div>
</div>
</div>
<div class="field">
<div class="control">
<button class="button is-link" id="submitButton">Convert</button>
</div>
</div>
</div>
<p class="panel-tabs" id="tabs"></p>
</nav>
</div>
<script src="index.js" type="module"></script>
</body>
</html>