Mass UI Updates
This commit is contained in:
+3
-3
@@ -24,7 +24,7 @@
|
||||
id="email"
|
||||
name="email"
|
||||
required
|
||||
class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none transition text-base"
|
||||
class="w-full px-4 py-3 border-2 border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none transition text-base"
|
||||
placeholder="Enter your email"
|
||||
>
|
||||
</div>
|
||||
@@ -36,7 +36,7 @@
|
||||
id="password"
|
||||
name="password"
|
||||
required
|
||||
class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none transition text-base"
|
||||
class="w-full px-4 py-3 border-2 border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none transition text-base"
|
||||
placeholder="Enter your password"
|
||||
>
|
||||
</div>
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
try {
|
||||
await login(email, password);
|
||||
window.location.href = 'dashboard.html';
|
||||
window.location.href = 'dashboard';
|
||||
} catch (error) {
|
||||
errorMessage.textContent = error.message || 'Login failed. Please try again.';
|
||||
errorMessage.classList.remove('hidden');
|
||||
|
||||
Reference in New Issue
Block a user