Compare commits

..

No commits in common. "elim" and "master" have entirely different histories.
elim ... master

4 changed files with 44 additions and 42 deletions

View File

@ -28,7 +28,7 @@
: LogOptions : LogOptions
{ {
return LogOptions::defaults()->logAll() return LogOptions::defaults()->logAll()
->useLogName('users'); ->useLogName('Cetak Label : ');
} }
} }

View File

@ -95,7 +95,7 @@
{ {
if (isset($_ENV['METHOD_AUTH'])) { if (isset($_ENV['METHOD_AUTH'])) {
if ($_ENV['METHOD_AUTH'] == 'usermanager') { if ($_ENV['METHOD_AUTH'] == 'usermanager') {
// addJavascriptFile('assets/js/custom/authentication/sign-in/uim.js'); addJavascriptFile('assets/js/custom/authentication/sign-in/uim.js');
return view('usermanager::auth.login-usermanager'); return view('usermanager::auth.login-usermanager');
} else { } else {
addJavascriptFile('assets/js/custom/authentication/sign-in/general.js'); addJavascriptFile('assets/js/custom/authentication/sign-in/general.js');

View File

@ -1,35 +1,57 @@
<x-auth-layout> <x-auth-layout>
<!--begin::Form--> <!--begin::Form-->
<form class="form w-100" novalidate="novalidate" data-kt-redirect-url="/" action="login" method="post" > <form class="form w-100" novalidate="novalidate" id="kt_sign_in_form" data-kt-redirect-url="/" action="login">
@csrf @csrf
<!--begin::Heading--> <!--begin::Heading-->
@if(Session::has('error_message')) <div class="text-center mb-11">
<div id="errorku" class="alert border-0 bg-light-danger alert-dismissible fade show"> <!--begin::Title-->
<div class="text-danger"> <h1 class="text-dark fw-bolder mb-3">
{{ Session::get('error_message') }} Sign In
</h1>
<!--end::Title-->
<!--begin::Subtitle-->
<div class="text-gray-500 fw-semibold fs-6">
Aplikasi Konfirmasi Bank
</div> </div>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="closeMSG('errorku')"></button> <!--end::Subtitle--->
</div> </div>
@endif <!--begin::Heading-->
<!--begin::Login options-->
<div class="row g-3 mb-9">
<!--begin::Col-->
<div class="col-md-12">
<img class="d-none d-lg-block mx-auto w-150px w-md-50 w-xl-150px mb-10 mb-lg-10" src="{{ image('logos/logo_agi.png') }}" alt=""/>
<!--begin::Google link--->
{{-- <a href="#" class="btn btn-flex btn-outline btn-text-gray-700 btn-active-color-primary bg-state-light flex-center text-nowrap w-100">
<img alt="Logo" src="{{ image('svg/brand-logos/google-icon.svg') }}" class="h-15px me-3"/>
Sign in with Google
</a> --}}
<!--end::Google link--->
</div>
<!--end::Col-->
<!--begin::Col-->
<!--end::Col-->
</div>
<!--end::Login options-->
<!--end::Separator-->
<!--begin::Input group---> <!--begin::Input group--->
<div class="fv-row mb-8"> <div class="fv-row mb-8">
<!--begin::Email--> <!--begin::Email-->
<div class="ms-auto position-relative"> <input type="text" placeholder="Email" name="email" autocomplete="off" class="form-control bg-transparent" value="demo@demo.com"/>
<div class="position-absolute top-50 translate-middle-y search-icon px-3"><i class="bi bi-person-fill"></i></div>
<input type="text" placeholder="NIK" name="email" autocomplete="off" class="form-control bg-transparent ps-10" value=""/>
</div>
<!--end::Email--> <!--end::Email-->
</div> </div>
<!--end::Input group---> <!--end::Input group--->
<div class="fv-row mb-3"> <div class="fv-row mb-3">
<!--begin::Password--> <!--begin::Password-->
<div class="ms-auto position-relative"> <input type="password" placeholder="Password" name="password" autocomplete="off" class="form-control bg-transparent" value="demo"/>
<div class="position-absolute top-50 translate-middle-y search-icon px-3"><i class="bi bi-lock-fill"></i></div>
<input type="password" placeholder="Password" name="password" autocomplete="off" class="form-control bg-transparent ps-10" value=""/>
</div>
<!--end::Password--> <!--end::Password-->
</div> </div>
<!--end::Input group---> <!--end::Input group--->
@ -64,26 +86,6 @@
</div> --}} </div> --}}
<!--end::Sign up--> <!--end::Sign up-->
</form> </form>
<!--end::Form--> <!--end::Form-->
@push('customscript')
<script>
// andy
$(document).ready(function () {
prepareForm();
});
function prepareForm()
{
// alert('hai');
// toastr.options.timeOut = 10000;
// toastr.success("Hai");
// var type = "{{ Session::get('alert-type', 'success') }}";
// toastr.success("Hai = " + type);
}
</script>
@endpush
</x-auth-layout> </x-auth-layout>

View File

@ -44,7 +44,7 @@
<!--begin::Input group---> <!--begin::Input group--->
<div class="fv-row mb-8"> <div class="fv-row mb-8">
<!--begin::Email--> <!--begin::Email-->
<input type="text" placeholder="Email" name="email" autocomplete="off" class="form-control bg-transparent" value="admin@demo.com"/> <input type="text" placeholder="Email" name="email" autocomplete="off" class="form-control bg-transparent" value="demo@demo.com"/>
<!--end::Email--> <!--end::Email-->
</div> </div>