File manager - Edit - /home/webapp69.cm.in.th/u69319090028/Shop/views/auth/login.php
Back
<div class="auth-card p-3 p-sm-4 my-2"> <!-- 1. Logo (Fixed Compact Container) --> <div class="logo-container"> <a href="<?= url('/') ?>" class="d-block" title="CARGOO Online Shopping"> <img src="<?= asset('/assets/images/brand/logo1-blue.png') ?>" alt="CARGOO Online Shopping"> </a> </div> <!-- 2. Title --> <div class="text-center mb-1"> <h1 class="auth-title mb-0"><?= __('login_title') ?></h1> </div> <!-- 3. Description --> <div class="text-center mb-3"> <p class="auth-subtitle mb-0"><?= __('login_subtitle') ?></p> </div> <!-- 4. Form --> <form action="<?= url('/login') ?>" method="POST" autocomplete="on"> <?= Security::csrfField() ?> <div class="mb-3"> <label for="identifier" class="form-label small fw-semibold mb-1"><?= __('username_or_email') ?></label> <div class="input-group"> <span class="input-group-text bg-light border-end-0 text-muted"><i class="bi bi-person"></i></span> <input type="text" class="form-control border-start-0 ps-1" id="identifier" name="identifier" value="<?= e(Session::getOldInput('identifier')) ?>" required autofocus placeholder="username หรืออีเมล"> </div> </div> <div class="mb-3"> <div class="d-flex justify-content-between align-items-center mb-1"> <label for="loginPassword" class="form-label small fw-semibold mb-0"><?= Language::getLocale() === 'th' ? 'รหัสผ่าน' : 'Password' ?></label> <a href="<?= url('/forgot-password') ?>" class="small text-decoration-none text-primary fw-medium"><?= __('forgot_password') ?></a> </div> <div class="input-group input-group-password"> <span class="input-group-text bg-light border-end-0 text-muted"><i class="bi bi-lock"></i></span> <input type="password" class="form-control border-start-0 border-end-0 ps-1" id="loginPassword" name="password" required placeholder="••••••••"> <button class="btn btn-outline-secondary btn-toggle-password" type="button" data-target="loginPassword" title="<?= __('show_password') ?>" aria-label="<?= __('show_password') ?>"> <i class="bi bi-eye"></i> </button> </div> </div> <div class="mb-3 d-flex align-items-center justify-content-between"> <div class="form-check mb-0"> <input class="form-check-input" type="checkbox" id="rememberMe" name="remember_me" value="1"> <label class="form-check-label small text-muted user-select-none" for="rememberMe"> <?= __('remember_me') ?> </label> </div> </div> <!-- 5. Primary Button --> <button type="submit" class="btn btn-cargoo-primary w-100 py-2 fs-6 shadow-sm mb-0"> <i class="bi bi-box-arrow-in-right me-1"></i> <?= __('login_btn') ?> </button> </form> <!-- 6. Secondary Link --> <div class="text-center mt-3 pt-3 border-top"> <p class="text-muted small mb-0"> <?= __('no_account') ?> <a href="<?= url('/register') ?>" class="text-primary fw-bold text-decoration-none ms-1"><?= __('register_now') ?></a> </p> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings