|
9 | 9 | <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet"> |
10 | 10 |
|
11 | 11 | <!-- Styles --> |
12 | | - <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> |
13 | | - <link rel="stylesheet" href="styles.css"> |
14 | | - |
| 12 | + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> |
| 13 | + <link rel="stylesheet" href="styles.css"> <!-- Link to your updated CSS file --> |
| 14 | + |
15 | 15 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
16 | 16 | <script src="https://cdn.jsdelivr.net/npm/bs-custom-file-input/dist/bs-custom-file-input.min.js"></script> |
17 | | - <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js" integrity="sha512-qTXRIMyZIFb8iQcfjXWCO8+M5Tbc38Qi5WzdPOYZHIlZpzBHG3L3by84BBBOiRGiEb7KKtAOAs5qYdUiZiQNNQ==" crossorigin="anonymous"></script> |
| 17 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script> |
18 | 18 | </head> |
19 | 19 | <body> |
20 | 20 | <div class="container-fluid"> |
21 | | - <div class="text-center py-5"> |
| 21 | + <div class="text-center py-3"> |
22 | 22 | <h2>Musicians' Helper - Repeater</h2> |
23 | | - <h3>A tool used by musicians to learn new songs.</h3> |
24 | | - <p> |
25 | | - Insert a YouTube video URL below and, by default, the loop |
26 | | - will start at 0 seconds and restart at the end of the video. |
27 | | - <br> |
28 | | - Configure the loop start and end points to repeat specific parts of the song, saving time identifying notes and chords. |
29 | | - </p> |
| 23 | + <p>Insert a YouTube URL and set loop points to repeat sections of a song.</p> |
30 | 24 | </div> |
31 | 25 |
|
32 | 26 | <div class="row"> |
33 | 27 | <!-- Video URL and Controls Column --> |
34 | | - <div class="col-md-6 col-sm-12 mb-4"> |
| 28 | + <div class="col-md-6 col-sm-12"> |
35 | 29 | <form> |
36 | 30 | <div class="form-group row"> |
37 | 31 | <label class="col-md-4 col-form-label" for="video_url">Video URL</label> |
38 | 32 | <div class="col-md-8 col-sm-12"> |
39 | | - <input id="video-url" class="form-control" name="video_url" type="text" placeholder="https://www.youtube.com/watch?v=WqQKw8m-C2k"> |
| 33 | + <input id="video-url" class="form-control" name="video_url" type="text" placeholder="https://..."> |
40 | 34 | <div id="url-invalid" class="invalid-feedback"> |
41 | | - Invalid URL. Please insert a valid YouTube video URL (https://www.youtube.com/watch?v={video_id}). |
| 35 | + Invalid URL. Insert a valid YouTube URL. |
42 | 36 | </div> |
43 | 37 | </div> |
44 | 38 | </div> |
45 | 39 |
|
46 | 40 | <!-- Loop Start Control --> |
47 | 41 | <div class="form-group row"> |
48 | | - <label class="col-md-4 col-form-label" for="start">Start <span class="text-muted">(seconds)</span></label> |
| 42 | + <label class="col-md-4 col-form-label" for="start">Start <span class="text-muted">(s)</span></label> |
49 | 43 | <div class="col-md-8"> |
50 | 44 | <div class="input-group"> |
51 | 45 | <div class="input-group-prepend"> |
52 | | - <button class="btn btn-outline-secondary subtract" data-amount="10" type="button">-10 s</button> |
53 | | - <button class="btn btn-outline-secondary subtract" data-amount="1" type="button">-1 s</button> |
54 | | - <button class="btn btn-outline-secondary subtract" data-amount="0.1" type="button">-100 ms</button> |
| 46 | + <button class="btn btn-outline-secondary subtract" data-amount="10" type="button">-10</button> |
| 47 | + <button class="btn btn-outline-secondary subtract" data-amount="1" type="button">-1</button> |
| 48 | + <button class="btn btn-outline-secondary subtract" data-amount="0.1" type="button">-0.1</button> |
55 | 49 | </div> |
56 | 50 | <input id="start" class="form-control" name="start" type="number" min="0" step=".1" placeholder="16.2"> |
57 | 51 | <div class="input-group-append"> |
58 | | - <button class="btn btn-outline-secondary sum" data-amount="0.1" type="button">+100 ms</button> |
59 | | - <button class="btn btn-outline-secondary sum" data-amount="1" type="button">+1 s</button> |
60 | | - <button class="btn btn-outline-secondary sum" data-amount="10" type="button">+10 s</button> |
| 52 | + <button class="btn btn-outline-secondary sum" data-amount="0.1" type="button">+0.1</button> |
| 53 | + <button class="btn btn-outline-secondary sum" data-amount="1" type="button">+1</button> |
| 54 | + <button class="btn btn-outline-secondary sum" data-amount="10" type="button">+10</button> |
61 | 55 | </div> |
62 | 56 | </div> |
63 | 57 | </div> |
64 | 58 | </div> |
65 | 59 |
|
66 | 60 | <!-- Loop Duration Control --> |
67 | 61 | <div class="form-group row"> |
68 | | - <label class="col-md-4 col-form-label" for="duration">Duration <span class="text-muted">(seconds)</span></label> |
| 62 | + <label class="col-md-4 col-form-label" for="duration">Duration <span class="text-muted">(s)</span></label> |
69 | 63 | <div class="col-md-8"> |
70 | 64 | <div class="input-group"> |
71 | 65 | <div class="input-group-prepend"> |
72 | | - <button class="btn btn-outline-secondary subtract" data-amount="10" type="button">-10 s</button> |
73 | | - <button class="btn btn-outline-secondary subtract" data-amount="1" type="button">-1 s</button> |
74 | | - <button class="btn btn-outline-secondary subtract" data-amount="0.1" type="button">-100 ms</button> |
| 66 | + <button class="btn btn-outline-secondary subtract" data-amount="10" type="button">-10</button> |
| 67 | + <button class="btn btn-outline-secondary subtract" data-amount="1" type="button">-1</button> |
| 68 | + <button class="btn btn-outline-secondary subtract" data-amount="0.1" type="button">-0.1</button> |
75 | 69 | </div> |
76 | 70 | <input id="duration" class="form-control" name="duration" type="number" min="0" step=".1" placeholder="42.8"> |
77 | 71 | <div class="input-group-append"> |
78 | | - <button class="btn btn-outline-secondary sum" data-amount="0.1" type="button">+100 ms</button> |
79 | | - <button class="btn btn-outline-secondary sum" data-amount="1" type="button">+1 s</button> |
80 | | - <button class="btn btn-outline-secondary sum" data-amount="10" type="button">+10 s</button> |
| 72 | + <button class="btn btn-outline-secondary sum" data-amount="0.1" type="button">+0.1</button> |
| 73 | + <button class="btn btn-outline-secondary sum" data-amount="1" type="button">+1</button> |
| 74 | + <button class="btn btn-outline-secondary sum" data-amount="10" type="button">+10</button> |
81 | 75 | </div> |
82 | 76 | </div> |
83 | 77 | </div> |
84 | 78 | </div> |
85 | 79 |
|
86 | 80 | <!-- Loop End Control --> |
87 | 81 | <div class="form-group row"> |
88 | | - <label class="col-md-4 col-form-label" for="end">End <span class="text-muted">(seconds)</span></label> |
| 82 | + <label class="col-md-4 col-form-label" for="end">End <span class="text-muted">(s)</span></label> |
89 | 83 | <div class="col-md-8"> |
90 | 84 | <div class="input-group"> |
91 | 85 | <div class="input-group-prepend"> |
92 | | - <button class="btn btn-outline-secondary subtract" data-amount="10" type="button">-10 s</button> |
93 | | - <button class="btn btn-outline-secondary subtract" data-amount="1" type="button">-1 s</button> |
94 | | - <button class="btn btn-outline-secondary subtract" data-amount="0.1" type="button">-100 ms</button> |
| 86 | + <button class="btn btn-outline-secondary subtract" data-amount="10" type="button">-10</button> |
| 87 | + <button class="btn btn-outline-secondary subtract" data-amount="1" type="button">-1</button> |
| 88 | + <button class="btn btn-outline-secondary subtract" data-amount="0.1" type="button">-0.1</button> |
95 | 89 | </div> |
96 | 90 | <input id="end" class="form-control" name="end" type="number" min="0" step=".1" placeholder="42.8"> |
97 | 91 | <div class="input-group-append"> |
98 | | - <button class="btn btn-outline-secondary sum" data-amount="0.1" type="button">+100 ms</button> |
99 | | - <button class="btn btn-outline-secondary sum" data-amount="1" type="button">+1 s</button> |
100 | | - <button class="btn btn-outline-secondary sum" data-amount="10" type="button">+10 s</button> |
| 92 | + <button class="btn btn-outline-secondary sum" data-amount="0.1" type="button">+0.1</button> |
| 93 | + <button class="btn btn-outline-secondary sum" data-amount="1" type="button">+1</button> |
| 94 | + <button class="btn btn-outline-secondary sum" data-amount="10" type="button">+10</button> |
101 | 95 | </div> |
102 | 96 | </div> |
103 | 97 | </div> |
104 | 98 | </div> |
105 | 99 |
|
106 | 100 | <!-- Chords File Upload --> |
107 | 101 | <div class="form-group row"> |
108 | | - <label class="col-md-4 col-form-label">Chords File <span class="text-muted">(.srt)</span></label> |
| 102 | + <label class="col-md-4 col-form-label">Chords File (.srt)</label> |
109 | 103 | <div class="col-md-8 custom-file"> |
110 | 104 | <input type="file" class="custom-file-input" id="chords-file"> |
111 | 105 | <label class="custom-file-label" for="chords_file">Choose File</label> |
|
0 commit comments