Files
online.tbbank.gov.tm-larave…/resources/views/vendor/nova/partials/auth-layout.blade.php
2024-02-24 08:41:28 +05:00

94 lines
3.3 KiB
PHP

<!DOCTYPE html>
<html lang="tk" dir="ltr" class="h-full font-sans antialiased">
<head>
<meta name="theme-color" content="#fff">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width"/>
<meta name="locale" content="tk"/>
<meta name="robots" content="noindex">
<!-- Styles -->
<link rel="stylesheet" href="/vendor/nova/app.css?id=496e3383c5e2918c7bc875f45870e701">
<link rel="stylesheet" href="/assets/css/auth.css">
</head>
<body>
<div>
<div class="bg-white flex justify-between px-4 py-1 absolute w-full shadow-none shadow-lg">
<div class="px-8 text-sm p-1 rounded uppercase font-bold padding-none">
<a href="#" class="d-none-copyright"> “Turkmenbasy” PTB © </a>
</div>
<div class="flex items-center">
<a href="tel:+99312444234" class="mr-6 text-sm text-gray-900">(+99312) 44-42-34</a>
<a href="#" class="mr-6 text-sm text-gray-900 uppercase">{{ __('Help') }}</a>
<div class="flex text-sm text-gray-900 space-x-1 uppercase">
@foreach(config('app.locales') as $localeKey => $localeDisplayName)
<a
href="{{ route('locale.set', ['locale' => $localeKey]) }}"
class="{{ app()->getLocale() === $localeKey ? 'font-bold' : '' }}"
>
{{ $localeKey }}
@unless($loop->last)
|
@endif
</a>
@endforeach
</div>
</div>
</div>
@yield('content')
<div class="px-8 text-sm p-1 rounded uppercase font-bold text-center d-none-mobile">
<a href="#"> “Turkmenbasy” PTB © </a>
</div>
</div>
<script src="/assets/js/inputmask.min.js"></script>
<script src="/assets/js/sweetalert2@11.js"></script>
<script src="/assets/js/fn.js"></script>
<script>
new Inputmask("+(\\9\\93)-99-99-99-99").mask(document.getElementById('phone'));
async function resetPassword(event) {
const response = await postData(event.target.action, getFormData(event))
if (response.errors) {
loopObject(response.errors, item => addValidationClasses(item))
} else {
removeValidationClasess()
if (response.step === 1) {
showVerificationCodeBox()
Swal.fire({
title: '{{ __('Verification code') }}',
text: response.message,
icon: 'info'
})
}
if (response.step === 2) {
showPasswordBox()
Swal.fire({
title: '{{ __('Reset Password') }}',
text: response.message,
icon: 'warning'
})
}
if (response.step === 3) {
await Swal.fire({
title: response.message,
showDenyButton: false,
showCancelButton: false,
})
window.location.href = '{{ route('login') }}'
}
}
}
</script>
</body>
</html>