Update index.html
1 file changed+7−2
index.html+7−2View file
| @@ -158,8 +158,13 @@ | ||
| </header> | ||
| <!-- Admin Testing Notice Banner --> | ||
| - <div id="admin-testing-notice" class="hidden bg-indigo-50 border-b border-indigo-200 text-indigo-800 text-xs py-2 px-4 text-center font-medium"> | ||
| - ⚡ <strong>Admin Preview Mode:</strong> You are previewing the Freelancer View as an Administrator. Toggle back to <button onclick="switchRole('admin')" class="underline font-bold text-indigo-950 hover:text-indigo-700 ml-1">Project Admin View</button> anytime. | ||
| + <div id="admin-testing-notice" class="hidden bg-indigo-50 border-b border-indigo-200 text-indigo-800 text-xs py-2 px-4 font-medium"> | ||
| + <div class="max-w-7xl mx-auto flex flex-wrap items-center justify-center gap-2"> | ||
| + <span>⚡ <strong>Admin Preview Mode:</strong> Viewing as</span> | ||
| + <select id="preview-freelancer-select" onchange="changePreviewFreelancer(this.value)" class="text-xs py-0.5 px-2 rounded-lg border border-indigo-300 bg-white font-semibold text-indigo-900 focus:ring-1 focus:ring-indigo-500 shadow-sm"> | ||
| + </select> | ||
| + <span>• Switch back to <button onclick="switchRole('admin')" class="underline font-bold text-indigo-950 hover:text-indigo-700 ml-0.5">Project Admin View</button> anytime.</span> | ||
| + </div> | ||
| </div> | ||
| <!-- Guest / Signed-out Alert Banner --> | ||