Lashtw commited on
Commit
065d45d
·
verified ·
1 Parent(s): 3c0706e

Upload 9 files

Browse files
Files changed (1) hide show
  1. src/views/InstructorView.js +3 -3
src/views/InstructorView.js CHANGED
@@ -18,15 +18,15 @@ export async function renderInstructorView() {
18
  }
19
 
20
  return `
21
- < div id = "auth-modal" class="fixed inset-0 bg-black bg-opacity-90 backdrop-blur z-50 flex items-center justify-center" >
22
  <div class="bg-gray-800 p-8 rounded-xl border border-gray-600 shadow-2xl max-w-sm w-full">
23
  <h2 class="text-xl font-bold text-center mb-6 text-white">🔒 講師身分驗證</h2>
24
  <input type="password" id="instructor-password" class="w-full bg-gray-900 border border-gray-700 rounded p-3 text-white text-center text-lg tracking-widest mb-4 focus:border-cyan-500 focus:outline-none" placeholder="輸入密碼">
25
  <button id="auth-btn" class="w-full bg-purple-600 hover:bg-purple-500 text-white font-bold py-3 rounded-lg transition-colors">確認進入</button>
26
  </div>
27
- </div >
28
 
29
- < !--Broadcast Modal(Hidden by default )-- >
30
  <div id="broadcast-modal" class="fixed inset-0 bg-black/90 backdrop-blur z-50 hidden flex flex-col items-center justify-center p-8 transition-opacity duration-300">
31
  <button onclick="closeBroadcast()" class="absolute top-6 right-6 text-gray-400 hover:text-white text-2xl">✕</button>
32
 
 
18
  }
19
 
20
  return `
21
+ <div id="auth-modal" class="fixed inset-0 bg-black bg-opacity-90 backdrop-blur z-50 flex items-center justify-center">
22
  <div class="bg-gray-800 p-8 rounded-xl border border-gray-600 shadow-2xl max-w-sm w-full">
23
  <h2 class="text-xl font-bold text-center mb-6 text-white">🔒 講師身分驗證</h2>
24
  <input type="password" id="instructor-password" class="w-full bg-gray-900 border border-gray-700 rounded p-3 text-white text-center text-lg tracking-widest mb-4 focus:border-cyan-500 focus:outline-none" placeholder="輸入密碼">
25
  <button id="auth-btn" class="w-full bg-purple-600 hover:bg-purple-500 text-white font-bold py-3 rounded-lg transition-colors">確認進入</button>
26
  </div>
27
+ </div>
28
 
29
+ <!--Broadcast Modal(Hidden by default )-->
30
  <div id="broadcast-modal" class="fixed inset-0 bg-black/90 backdrop-blur z-50 hidden flex flex-col items-center justify-center p-8 transition-opacity duration-300">
31
  <button onclick="closeBroadcast()" class="absolute top-6 right-6 text-gray-400 hover:text-white text-2xl">✕</button>
32