admin commited on
Commit
7cfbe8a
·
1 Parent(s): 893621a
Files changed (2) hide show
  1. css/style.css +2 -2
  2. index.html +13 -14
css/style.css CHANGED
@@ -21,8 +21,8 @@ select {
21
  width: 100%;
22
  }
23
 
24
- video {
25
- width: 480px;
26
  aspect-ratio: 16/9;
27
  }
28
 
 
21
  width: 100%;
22
  }
23
 
24
+ iframe {
25
+ width: 100%;
26
  aspect-ratio: 16/9;
27
  }
28
 
index.html CHANGED
@@ -14,15 +14,14 @@
14
  <table border="1" id="maintab">
15
  <tbody>
16
  <tr>
17
- <td>教程 (Tutorial)</td>
18
  <td>
19
- <video
20
- src="https://www.modelscope.cn/studio/Genius-Society/figured_bass_calculator/resolve/master/src/demo.mp4"
21
- controls muted loop autoplay></video>
22
  </td>
23
  </tr>
24
  <tr>
25
- <td class="col-1"><label for="key">中心音 (Key)</label></td>
26
  <td class="col-2">
27
  <select id="key">
28
  <option value="Cb">C♭</option>
@@ -44,16 +43,16 @@
44
  </td>
45
  </tr>
46
  <tr>
47
- <td><label for="key">大小调 (Mode)</label></td>
48
  <td>
49
  <select id="mode" onchange="change_mode()">
50
- <option value="Major" selected="selected">大调 (Major)</option>
51
- <option value="Minor">小调 (Minor)</option>
52
  </select>
53
  </td>
54
  </tr>
55
  <tr>
56
- <td><label for="bassNote">低音 (Bass Note)</label></td>
57
  <td>
58
  <select id="bassNote">
59
  <option value="C" selected="selected">C</option>
@@ -67,7 +66,7 @@
67
  </td>
68
  </tr>
69
  <tr>
70
- <td><label for="accidental">变音记号 (Accidental)</label></td>
71
  <td>
72
  <select id="accidental">
73
  <option value="bb">♭♭</option>
@@ -80,7 +79,7 @@
80
  </td>
81
  </tr>
82
  <tr>
83
- <td><label for="figures">数字 Figure(s)</label></td>
84
  <td>
85
  <span class="dropdown">
86
  <span class="dropdown-content" id="dropdown">
@@ -88,7 +87,7 @@
88
  <tbody>
89
  <tr>
90
  <td><input type="radio" name="figures" class="figure" value="noFigure" id="noFigure"
91
- checked="checked" onclick="close_dropdown()"><label for="noFigure">无数字 (No figure)</label>
92
  </td>
93
  <td><input type="radio" name="figures" class="figure" value="0" id="0"
94
  onclick="close_dropdown()"><label for="0">Tasto solo</label></td>
@@ -244,9 +243,9 @@
244
  </td>
245
  </tr>
246
  <tr>
247
- <td><input id="chord" type="button" onclick="show_notes_to_play()" value="计算应该演奏的和弦"></td>
248
  <td>
249
- <div id="demo">Show chord to play</div>
250
  </td>
251
  </tr>
252
  </tbody>
 
14
  <table border="1" id="maintab">
15
  <tbody>
16
  <tr>
17
+ <td>Tutorial</td>
18
  <td>
19
+ <iframe src="//player.bilibili.com/player.html?bvid=BV1yTrgYVEVK&p=2&autoplay=0" scrolling="no" border="0"
20
+ frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
 
21
  </td>
22
  </tr>
23
  <tr>
24
+ <td class="col-1"><label for="key">Key</label></td>
25
  <td class="col-2">
26
  <select id="key">
27
  <option value="Cb">C♭</option>
 
43
  </td>
44
  </tr>
45
  <tr>
46
+ <td><label for="key">Mode</label></td>
47
  <td>
48
  <select id="mode" onchange="change_mode()">
49
+ <option value="Major" selected="selected">Major</option>
50
+ <option value="Minor">Minor</option>
51
  </select>
52
  </td>
53
  </tr>
54
  <tr>
55
+ <td><label for="bassNote">Bass Note</label></td>
56
  <td>
57
  <select id="bassNote">
58
  <option value="C" selected="selected">C</option>
 
66
  </td>
67
  </tr>
68
  <tr>
69
+ <td><label for="accidental">Accidental</label></td>
70
  <td>
71
  <select id="accidental">
72
  <option value="bb">♭♭</option>
 
79
  </td>
80
  </tr>
81
  <tr>
82
+ <td><label for="figures">Figure(s)</label></td>
83
  <td>
84
  <span class="dropdown">
85
  <span class="dropdown-content" id="dropdown">
 
87
  <tbody>
88
  <tr>
89
  <td><input type="radio" name="figures" class="figure" value="noFigure" id="noFigure"
90
+ checked="checked" onclick="close_dropdown()"><label for="noFigure">No figure</label>
91
  </td>
92
  <td><input type="radio" name="figures" class="figure" value="0" id="0"
93
  onclick="close_dropdown()"><label for="0">Tasto solo</label></td>
 
243
  </td>
244
  </tr>
245
  <tr>
246
+ <td><input id="chord" type="button" onclick="show_notes_to_play()" value="Show chord to play"></td>
247
  <td>
248
+ <div id="demo"></div>
249
  </td>
250
  </tr>
251
  </tbody>