Sergidev commited on
Commit
dd0477a
·
verified ·
1 Parent(s): d3d43fb

Create index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +33 -0
templates/index.html ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MP3 Converter - Sergidev</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
8
+ </head>
9
+ <body>
10
+ <h1>MP3 Converter</h1>
11
+
12
+ <div id="drop-area">
13
+ <p>Drag & drop a file here or click to select</p>
14
+ <input type="file" id="fileInput" accept=".mp3,.wav">
15
+ </div>
16
+
17
+ <div id="options" style="display: none;">
18
+ <label for="multiplicationFactor">Multiplication Factor:</label>
19
+ <input type="range" id="multiplicationFactor" min="40" max="160" value="100">
20
+ <span id="factorValue">100</span>
21
+
22
+ <button id="processButton">Convert</button>
23
+ </div>
24
+
25
+ <div id="result" style="display: none;">
26
+ <h2>Result</h2>
27
+ <audio id="audioPlayer" controls></audio>
28
+ <a id="downloadLink" download>Download</a>
29
+ </div>
30
+
31
+ <script src="{{ url_for('static', filename='script.js') }}"></script>
32
+ </body>
33
+ </html>