下拉刷新

Mis Aldel Login -

@media (max-width: 480px) .login-card padding: 1.8rem; .options flex-direction: column; gap: 0.8rem; align-items: flex-start;

.login-card:hover transform: translateY(-5px);

.login-btn:hover background: #2a9d8f; transform: scale(1.01);

// ✅ Simulate backend authentication // Replace this block with real fetch to your API try 'Login failed'); Mis Aldel Login

.brand text-align: center; margin-bottom: 2rem;

To create a , I’ll assume "Mis Aldel" refers to a Management Information System (MIS) for an entity named Aldel (e.g., a school, company, or cooperative).

<script> const form = document.getElementById('loginForm'); const errorBox = document.getElementById('errorBox'); @media (max-width: 480px)

// MOCK validation (remove in production) if (email === "admin@aldel.com" && password === "Aldel2025") if (remember) localStorage.setItem("mis_aldel_user", email); else sessionStorage.setItem("mis_aldel_user", email); alert("✅ Login successful — redirecting to dashboard..."); // window.location.href = "/dashboard"; else showError("⚠️ Invalid credentials. Use admin@aldel.com / Aldel2025"); catch (err) showError("Server error. Please try again later.");

.login-btn width: 100%; background: #1e3c72; color: white; border: none; padding: 0.9rem; border-radius: 2rem; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.2s; margin-bottom: 1.5rem;

.input-group margin-bottom: 1.5rem; position: relative; Please try again later

.brand p color: #2c3e66; font-weight: 500; margin-top: 0.5rem;

function showError(msg) errorBox.innerText = msg; errorBox.style.display = 'block'; setTimeout(() => errorBox.style.display = 'none'; , 4000);

<form id="loginForm"> <div class="input-group"> <i class="fas fa-envelope"></i> <input type="email" id="email" placeholder="Employee / User ID (email)" required> </div> <div class="input-group"> <i class="fas fa-lock"></i> <input type="password" id="password" placeholder="Password" required> </div> <div class="options"> <label class="checkbox"> <input type="checkbox" id="remember"> Remember me </label> <a href="#" class="forgot-link">Forgot password?</a> </div> <button type="submit" class="login-btn"> <i class="fas fa-sign-in-alt" style="margin-right: 8px;"></i> Login </button> </form>