63 lines
2.6 KiB
PHP
63 lines
2.6 KiB
PHP
@extends('includes.login.index')
|
|
|
|
@section('content')
|
|
|
|
<style>
|
|
#buttonspare:hover {
|
|
|
|
background-color: #12b65224;
|
|
}
|
|
</style>
|
|
|
|
<title>Log In | Portal Pelanggan</title>
|
|
|
|
<h6 style="text-align: center; margin-bottom: 10%;">Log-Masuk</h6>
|
|
|
|
<form role="#" method="post" enctype="multipart/form-data" class="login-form" novalidate="novalidate">
|
|
@csrf
|
|
<div class="input-group input-group-outline my-3 {{ $errors->has('email') ? ' has-danger' : '' }}">
|
|
<input placeholder="E-mel" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="email" name="email" value="{{ old('email') }}" id="login-username">
|
|
</div>
|
|
@if ($errors->has('email'))
|
|
<span class="invalid-feedback" style="display: block;margin-top:-10px !important;" role="alert">
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
</span>
|
|
@endif
|
|
|
|
<div class="input-group input-group-outline mb-3">
|
|
<input placeholder="Kata Laluan" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" type="password" name="password" id="login-password">
|
|
</div>
|
|
@if ($errors->has('password'))
|
|
<span class="invalid-feedback" style="display: block;margin-top:-10px !important;" role="alert">
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
</span>
|
|
@endif
|
|
|
|
<div class="form-check form-switch d-flex align-items-center mb-3">
|
|
<input class="form-check-input" type="checkbox" id="rememberMe">
|
|
<label class="form-check-label mb-0 ms-2" for="rememberMe">Ingatkan Saya</label>
|
|
</div>
|
|
<div class="text-center">
|
|
<button type="submit" class="btn bg-gradient-dark w-100 my-4 mb-2" onclick="loadingbtn();this.disabled=true;this.form.submit();" style="background: #4A4E59;">Log Masuk</button>
|
|
</div>
|
|
<!-- <div class="text-center mt-3" style="margin: 0% 10%;">
|
|
<a href="https://spare.arrahn.com.my/pembayaransegera" id="buttonspare" title="Pembayaran Pantas SPARE" style="color: #12B652; border: 1px solid #12B652;" class="btn my-4 mb-2" target="_blank">Bayaran Pantas (SPARE)</a href="#">
|
|
</div> -->
|
|
<p class="text-sm text-center">
|
|
|
|
<a href="{{ route('auth.registerfirst') }}">Pertama Kali</a>
|
|
<a href="#" class="text-dark text-gradient font-weight-bold"> | </a>
|
|
<a href="{{ route('password.request') }}">Lupa Kata Laluan</a>
|
|
<a href="#" class="text-dark text-gradient font-weight-bold"> | </a>
|
|
<a href="{{ route('auth.forgotemel') }}">Lupa E-mel</a>
|
|
</p>
|
|
|
|
<p class="text-sm text-center">
|
|
<a href="{{ route('termasyarat') }}">Terma Dan Syarat</a>
|
|
</p>
|
|
</form>
|
|
|
|
|
|
|
|
@endsection
|