HEX
Server: LiteSpeed
System: Linux s3.sitechai.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: workzeni (2217)
PHP: 8.1.32
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: /home/workzeni/agency-erp-05.workzenix.com/resources/views/auth/register.blade.php
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Login || Haji</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
    <style>
        /* Background and body */
        body,
        html {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            width: 100vw;
            background: url('http://127.0.0.1:8000/admin/assets/images/login-bg.webp') no-repeat center center fixed;
            background-size: cover;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }



        /* Container to hold logo and login card */
        .container-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            width: 100%;
            max-width: 480px;
            padding: 0 1rem;
            animation: fadeInUp 0.8s ease forwards;
        }

        /* Logo styles */
        .logo {
            max-width: 150px;
            width: 100%;
            border-radius: 10%;
            filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
            user-select: none;
        }

        /* Fade-in animation */
        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Login card with blur and green theme */
        .login-card {
            position: relative;
            width: 100%;
            padding: 3rem 2.5rem;
            border-radius: 1.25rem;
            background: rgba(30, 70, 32, 0.4);
            /* dark green translucent */
            box-shadow: 0 0.75rem 2rem rgba(20, 50, 20, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            color: #e6f4ea;
            border: 1.5px solid rgba(46, 125, 50, 0.6);
        }

        /* Heading */
        .login-card h2 {
            font-weight: 700;
            color: #a5d6a7;
            text-align: center;
            margin: 1rem;
            text-shadow: 0 0 6px rgba(165, 214, 167, 0.8);
        }

        /* Form labels */
        .form-label {
            font-weight: 600;
            color: #c8e6c9;
        }

        /* Inputs */
        .form-control {
            background-color: rgba(255 255 255 / 0.15);
            border: 1.5px solid rgba(165, 214, 167, 0.6);
            color: #e6f4ea;
            transition: border-color 0.3s ease, background-color 0.3s ease;
            box-shadow: none;
        }

        .form-control::placeholder {
            color: #c8e6c9;
            opacity: 0.8;
        }

        .form-control:focus {
            background-color: rgba(255 255 255 / 0.3);
            border-color: #81c784;
            color: #e6f4ea;
            box-shadow: 0 0 8px #81c784aa;
            outline: none;
        }

        /* Checkbox label */
        .form-check-label {
            color: #c8e6c9;
            font-weight: 500;
            user-select: none;
        }

        /* Outline green button */
        .btn-outline-success {
            border-width: 2px;
            font-weight: 600;
            color: #a5d6a7;
            transition: all 0.3s ease;
            box-shadow: none;
        }

        .btn-outline-success:hover,
        .btn-outline-success:focus {
            background-color: #4caf50;
            color: white;
            border-color: #4caf50;
            box-shadow: 0 0 12px #4caf50cc;
        }

        /* Extra info text */
        .extra-info {
            margin: 0.5rem;
            font-size: 0.9rem;
            color: #b2dfdb;
            text-align: left;
            user-select: none;
            line-height: 1.4;
        }

        /* Responsive tweaks */
        @media (max-width: 500px) {
            .login-card {
                padding: 2.5rem 1.5rem;
            }

            .logo {
                max-width: 140px;
            }
        }
    </style>
</head>

<body>
    <div class="container-wrapper" role="main" aria-label="Login section">


        <!-- Login Card -->
        <section class="login-card" aria-label="Login form">
            <!-- Logo Section -->
            <div style="place-self: center;">
                <img src="https://taibaalliance.com/wp-content/uploads/2023/02/WhatsApp-Image-2024-12-18-at-18.35.49_975af1a3-e1734525879156-removebg-preview-1.webp"
                    alt="Taiba Alliance Logo" class="logo" draggable="false" loading="lazy" />
            </div>
            <h2 class="login">Login</h2>
            <form>
                <div class="mb-4">
                    <label for="username" class="form-label">Username</label>
                    <input type="text" class="form-control" id="username" name="username" required
                        placeholder="Enter email or phone number" aria-describedby="usernameHelp" />

                </div>
                <div class="mb-4">
                    <label for="password" class="form-label">Password</label>
                    <input type="password" class="form-control" id="password" name="password"
                        autocomplete="current-password" required placeholder="Enter your password"
                        aria-describedby="passwordHelp" />
                    <p class="extra-info">
                        Forgot your password? <a href="#" style="color:#a5d6a7; text-decoration: underline;">Reset
                            it
                            here</a>.
                    </p>
                </div>
                <div class="form-check mb-4">
                    <input class="form-check-input" type="checkbox" value="" id="remember" name="remember" />
                    <label class="form-check-label" for="remember">
                        Remember me
                    </label>
                </div>
                <button type="submit" class="btn btn-outline-success w-100" aria-label="Login">
                    Login
                </button>
            </form>

        </section>
    </div>

    <!-- Bootstrap 5 JS Bundle (Popper + Bootstrap JS) -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

    <script>
        document.querySelector("form").addEventListener("submit", function(e) {
            const usernameInput = document.getElementById("username");
            const usernameValue = usernameInput.value.trim();

            const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
            const phoneRegex = /^\d{10,15}$/; // allows 10-15 digit numbers

            if (!emailRegex.test(usernameValue) && !phoneRegex.test(usernameValue)) {
                e.preventDefault(); // stop form submission
                alert("Please enter a valid email address or phone number (10-15 digits).");
                usernameInput.focus();
            }
        });
    </script>

</body>

</html>