Files
erahn-click/resources/views/includes/login/loginportal.blade.php
T
2021-11-23 16:59:55 +08:00

44 lines
2.0 KiB
PHP

@extends('includes.login.index')
@section('content')
<title>Log In | Customer Portal</title>
<h6 style="text-align: center; margin-bottom: 10%;">Log-Masuk ke Customer Portal</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-mail" 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">Remember me</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 In</button>
</div>
<p class="mt-6 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>
</p>
</form>
@endsection