buletomato25 commited on
Commit
1b4c560
·
2 Parent(s): e21b19c 480db73

Merge branch 'main' of https://huggingface.co/spaces/Justtalk/JusTalk

Browse files
static/register_record.js CHANGED
@@ -97,10 +97,10 @@ function sendAudioChunks(chunks, button) {
97
  reader.readAsDataURL(audioBlob);
98
  }
99
 
100
- // 録音画面に移動
101
- function showRecorder() {
102
- window.location.href = "index";
103
- }
104
 
105
  // Add user function
106
  function addUser() {
 
97
  reader.readAsDataURL(audioBlob);
98
  }
99
 
100
+ // メンバー選択画面表示
101
+ function showUserSelect() {
102
+ window.location.href = "/userselect";
103
+ }
104
 
105
  // Add user function
106
  function addUser() {
templates/userRegister.html CHANGED
@@ -133,19 +133,16 @@
133
  <i class="fas fa-user-plus"></i> メンバーを追加
134
  </button>
135
 
136
- <!-- Back Button -->
137
  <button
138
  id="backButton"
139
- onclick="showRecorder()"
140
  class="action-button back-button"
141
  >
142
- <i class="fas fa-microphone"></i> 録音画面を表示
143
  </button>
144
  </div>
145
 
146
  <script src="{{ url_for('static', filename='register_record.js') }}"></script>
147
-
148
-
149
-
150
  </body>
151
  </html>
 
133
  <i class="fas fa-user-plus"></i> メンバーを追加
134
  </button>
135
 
136
+ <!-- 録音画面へ移動ボタン(Back Buttonから変更) -->
137
  <button
138
  id="backButton"
139
+ onclick="showUserSelect()"
140
  class="action-button back-button"
141
  >
142
+ <i class="fas fa-users"></i> メンバー選択画面を表示
143
  </button>
144
  </div>
145
 
146
  <script src="{{ url_for('static', filename='register_record.js') }}"></script>
 
 
 
147
  </body>
148
  </html>