관리-도구
편집 파일: 1661d2f6fcc78a7cdbde7f09971f88e4.php
<?php $__env->startSection('title', translate('sign_in')); ?> <?php $__env->startPush('css_or_js'); ?> <link rel="stylesheet" href="<?php echo e(theme_asset(path: 'public/assets/front-end/plugin/intl-tel-input/css/intlTelInput.css')); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <style> .login-card { background: #ffffff !important; border: 1px solid rgba(212, 175, 55, 0.3) !important; border-radius: 16px !important; box-shadow: 0 10px 30px rgba(58, 7, 44, 0.05) !important; padding: 40px 35px !important; transition: all 0.3s ease-in-out; } .login-card:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(58, 7, 44, 0.1) !important; } .btn--primary { background: linear-gradient(135deg, #3a072c 0%, #5d1147 100%) !important; border: none !important; color: #ffffff !important; border-radius: 8px !important; padding: 12px 24px !important; font-weight: 600 !important; letter-spacing: 0.5px; transition: all 0.3s ease !important; box-shadow: 0 4px 15px rgba(58, 7, 44, 0.2) !important; } .btn--primary:hover { background: linear-gradient(135deg, #5d1147 0%, #3a072c 100%) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58, 7, 44, 0.3) !important; } .form-control { border: 1px solid #e2d9cf !important; border-radius: 8px !important; padding: 12px 16px !important; transition: all 0.3s ease !important; background-color: #ffffff !important; } .form-control:focus { border-color: #d4af37 !important; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important; } .form-label { color: #3a072c !important; font-weight: 600 !important; margin-bottom: 8px; } .text-primary, .text-underline, a.text-primary { color: #d4af37 !important; font-weight: 500; } .text-primary:hover, .text-underline:hover, a.text-primary:hover { color: #3a072c !important; text-decoration: underline !important; } .login-card h2 { color: #3a072c !important; font-weight: 700 !important; letter-spacing: 0.5px; } </style> <?php $customerManualLogin = $web_config['customer_login_options']['manual_login'] ?? 0; $customerOTPLogin = $web_config['customer_login_options']['otp_login'] ?? 0; $customerSocialLogin = $web_config['customer_login_options']['social_login'] ?? 0; if (!$customerOTPLogin && $customerManualLogin && $customerSocialLogin) { $multiColumn = 1; } elseif ($customerOTPLogin && !$customerManualLogin && $customerSocialLogin) { $multiColumn = 1; } elseif ($customerOTPLogin && $customerManualLogin && !$customerSocialLogin) { $multiColumn = 1; } elseif ($customerOTPLogin && $customerManualLogin && $customerSocialLogin) { $multiColumn = 1; } else { $multiColumn = 0; } ?> <div class="container py-4 py-lg-5 my-4 text-align-direction"> <div class="row justify-content-center"> <div class="<?php echo e($multiColumn ? 'col-md-9' : 'col-md-6'); ?> login-card"> <div class="d-flex justify-content-center align-items-center flex-column"> <svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#d4af37" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="mb-2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg> <h2 class="text-center font-bold text-capitalize fs-20 my-2 fs-18-mobile"> <?php echo e(translate('Sign_In')); ?> </h2> </div> <div class="position-relative"> <div class="row justify-content-center align-items-center g-4 <?php echo e($multiColumn ? 'or-sign-in-with-row' : ''); ?>"> <?php if($customerOTPLogin && !$customerManualLogin && !$customerSocialLogin): ?> <div class="col-md-12"> <form autocomplete="off" action="<?php echo e(route('customer.auth.login')); ?>" method="post" id="customer-otp-login-form" class="customer-centralize-login-form" data-firebase-auth="<?php echo e($web_config['firebase_otp_verification_status'] ? 'active' : 'deactivate'); ?>"> <?php echo csrf_field(); ?> <input type="hidden" name="keep_customer_login_redirect_url" value="<?php echo e($keepCustomerLoginRedirectUrl ?? old('keep_customer_login_redirect_url', url()->previous())); ?>"> <input type="hidden" name="login_type" value="otp-login"> <?php echo $__env->make('web-views.customer-views.auth.partials._phone', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._recaptcha', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <button class="btn btn--primary btn-block btn-shadow font-semi-bold" type="submit"> <?php echo e(translate('Get_OTP')); ?> </button> </form> </div> <?php elseif(!$customerOTPLogin && $customerManualLogin && !$customerSocialLogin): ?> <div class="col-md-12"> <form autocomplete="off" class="customer-centralize-login-form mt-2" action="<?php echo e(route('customer.auth.login')); ?>" method="post" id="customer-login-form"> <?php echo csrf_field(); ?> <input type="hidden" name="keep_customer_login_redirect_url" value="<?php echo e($keepCustomerLoginRedirectUrl ?? old('keep_customer_login_redirect_url', url()->previous())); ?>"> <input type="hidden" name="login_type" value="manual-login"> <?php echo $__env->make('web-views.customer-views.auth.partials._email', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._password', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._remember-me', [ 'forgotPassword' => true, ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <!-- <?php echo $__env->make('web-views.customer-views.auth.partials._recaptcha', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> --> <button class="btn btn--primary btn-block btn-shadow font-semi-bold" type="submit"> <?php echo e(translate('sign_in')); ?> </button> <?php if(!$multiColumn): ?> <?php echo $__env->make('web-views.customer-views.auth.partials._sign-up-instruction', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?> </form> </div> <?php elseif(!$customerOTPLogin && $customerManualLogin && $customerSocialLogin): ?> <div class="col-md-6"> <form autocomplete="off" class="customer-centralize-login-form mt-2" action="<?php echo e(route('customer.auth.login')); ?>" method="post" id="customer-login-form"> <?php echo csrf_field(); ?> <input type="hidden" name="keep_customer_login_redirect_url" value="<?php echo e($keepCustomerLoginRedirectUrl ?? old('keep_customer_login_redirect_url', url()->previous())); ?>"> <input type="hidden" name="login_type" value="manual-login"> <?php echo $__env->make('web-views.customer-views.auth.partials._email', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._password', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._remember-me', [ 'forgotPassword' => true, ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._recaptcha', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <button class="btn btn--primary btn-block btn-shadow font-semi-bold" type="submit"> <?php echo e(translate('sign_in')); ?> </button> <?php if(!$multiColumn): ?> <?php echo $__env->make('web-views.customer-views.auth.partials._sign-up-instruction', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?> </form> </div> <?php elseif($customerOTPLogin && !$customerManualLogin && $customerSocialLogin): ?> <div class="col-md-6"> <form autocomplete="off" class="customer-centralize-login-form mt-2" action="<?php echo e(route('customer.auth.login')); ?>" method="post" id="customer-otp-login-form" data-firebase-auth="<?php echo e($web_config['firebase_otp_verification_status'] ? 'active' : 'deactivate'); ?>"> <?php echo csrf_field(); ?> <input type="hidden" name="keep_customer_login_redirect_url" value="<?php echo e($keepCustomerLoginRedirectUrl ?? old('keep_customer_login_redirect_url', url()->previous())); ?>"> <input type="hidden" name="login_type" value="otp-login"> <?php echo $__env->make('web-views.customer-views.auth.partials._phone', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._recaptcha', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <button class="btn btn--primary btn-block btn-shadow font-semi-bold" type="submit"> <?php echo e(translate('Get_OTP')); ?> </button> </form> </div> <?php elseif($customerOTPLogin && $customerManualLogin): ?> <div class="col-md-6"> <div class="manual-login-container"> <form autocomplete="off" class="customer-centralize-login-form mt-2" action="<?php echo e(route('customer.auth.login')); ?>" method="post" id="customer-login-form"> <?php echo csrf_field(); ?> <input type="hidden" name="keep_customer_login_redirect_url" value="<?php echo e($keepCustomerLoginRedirectUrl ?? old('keep_customer_login_redirect_url', url()->previous())); ?>"> <input type="hidden" name="login_type" class="auth-login-type-input" value="manual-login"> <div class="manual-login-items"> <?php echo $__env->make('web-views.customer-views.auth.partials._email', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('web-views.customer-views.auth.partials._password', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make( 'web-views.customer-views.auth.partials._remember-me', ['forgotPassword' => true] , array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="otp-login-items d-none"> <?php echo $__env->make('web-views.customer-views.auth.partials._phone', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <?php echo $__env->make('web-views.customer-views.auth.partials._recaptcha', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <div class="manual-login-items"> <button class="btn btn--primary btn-block btn-shadow font-semi-bold" type="submit"> <?php echo e(translate('sign_in')); ?> </button> </div> <div class="otp-login-items d-none"> <button class="btn btn--primary btn-block btn-shadow font-semi-bold" type="submit"> <?php echo e(translate('Get_OTP')); ?> </button> </div> </form> </div> </div> <?php endif; ?> <?php if($multiColumn): ?> <div class="or-sign-in-with"><span><?php echo e(translate('Or Sign in with')); ?></span></div> <?php endif; ?> <?php if($multiColumn || $customerSocialLogin): ?> <div class="<?php echo e($multiColumn ? 'col-md-6' : 'col-12'); ?>"> <div class="d-flex justify-content-center flex-column align-items-center my-3 gap-3"> <?php if($customerSocialLogin): ?> <?php $__currentLoopData = $web_config['customer_social_login_options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $socialLoginServiceKey => $socialLoginService): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($socialLoginService && $socialLoginServiceKey != 'apple'): ?> <a class="social-media-login-btn" href="<?php echo e(route('customer.auth.service-login', $socialLoginServiceKey)); ?>"> <img alt="" src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/icons/' . $socialLoginServiceKey . '.png')); ?>"> <span class="text"> <?php echo e(translate($socialLoginServiceKey)); ?> </span> </a> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if($customerOTPLogin && $customerManualLogin): ?> <a class="social-media-login-btn otp-login-btn" href="javascript:"> <img alt="" src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/icons/otp-login-icon.svg')); ?>"> <span class="text"><?php echo e(translate('OTP_Sign_in')); ?></span> </a> <a class="social-media-login-btn manual-login-btn d-none" href="javascript:"> <img alt="" src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/icons/otp-login-icon.svg')); ?>"> <span class="text"><?php echo e(translate('Manual_Login')); ?></span> </a> <?php endif; ?> </div> <?php if($multiColumn): ?> <?php echo $__env->make('web-views.customer-views.auth.partials._sign-up-instruction', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?> </div> <?php endif; ?> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?> <?php ($recaptcha = getWebConfig(name: 'recaptcha')); ?> <?php if($web_config['firebase_otp_verification_status']): ?> <script> $('.or-sign-in-with').css('width', $('.or-sign-in-with-row').height()) </script> <?php endif; ?> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.front-end.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home2/slnssare/public_html/resources/themes/default/web-views/customer-views/auth/login.blade.php ENDPATH**/ ?>