357 lines
9.1 KiB
PHP
357 lines
9.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>SIPAYA</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
|
|
<link rel="icon" href={{ asset('asset/images/icon.png') }} type="image/x-icon" />
|
|
<link rel="stylesheet" href="{{ asset('assets/css/demo.css') }}" />
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
|
<script src="https://cdn.lordicon.com/lusqsztk.js"></script>
|
|
|
|
|
|
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: row;
|
|
background: linear-gradient(135deg, #6a11cb, #2575fc);
|
|
font-family: 'Poppins', sans-serif;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.panel {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.left-panel {
|
|
width: 43%;
|
|
background-color: #a7b5c7;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow-y: auto;
|
|
/* gap: 20px; */
|
|
}
|
|
|
|
.right-panel {
|
|
width: 57%;
|
|
background-color: #ffffff;
|
|
padding: 30px 250px 30px 50px;
|
|
}
|
|
|
|
.home-link {
|
|
text-decoration: none;
|
|
margin-top: 30px;
|
|
font-size: 15px;
|
|
color: #2575fc;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
lord-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.home-link:hover {
|
|
color: #0056b3;
|
|
}
|
|
|
|
.home-link i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.welcome-text {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.welcome-text h1 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: #000;
|
|
}
|
|
|
|
.welcome-text p {
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
color: #6c757d;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.welcome-text p span {
|
|
color: #2575fc;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-container {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 510;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
input[type="email"] {
|
|
width: 100%;
|
|
height: 45px;
|
|
padding: 10px 15px;
|
|
font-size: 14px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type="email"]:focus {
|
|
border-color: #2575fc;
|
|
outline: none;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.actions a {
|
|
text-decoration: none;
|
|
color: #2575fc;
|
|
font-size: 14px;
|
|
font-weight: 550;
|
|
}
|
|
|
|
.actions a:hover {
|
|
color: #0056b3;
|
|
}
|
|
|
|
.g-recaptcha {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.submit-button {
|
|
width: 100%;
|
|
height: 50px;
|
|
background-color: #1a2035;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 550;
|
|
border: none;
|
|
border-radius: 25px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.submit-button:hover {
|
|
background-color: #1a2035;
|
|
}
|
|
|
|
.register-link {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.register-link a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.left-panel-image {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.form-group input[type="password"] {
|
|
padding-right: 40px;
|
|
}
|
|
|
|
#togglePassword {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
cursor: pointer;
|
|
color: #888;
|
|
}
|
|
|
|
#togglePassword:hover {
|
|
color: #2575fc;
|
|
}
|
|
|
|
.g-recaptcha {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#captchaError {
|
|
text-align: left;
|
|
font-size: 14px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
body {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.left-panel {
|
|
display: none;
|
|
}
|
|
|
|
.right-panel {
|
|
width: 100%;
|
|
padding: 40px 30px;
|
|
}
|
|
|
|
label {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.welcome-text h1 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.welcome-text p {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.home-link {
|
|
font-size: 14px;
|
|
margin-top: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
input[type="email"] {
|
|
height: 40px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.submit-button {
|
|
height: 50px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.register-link {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.right-panel {
|
|
padding: 20px 30px;
|
|
}
|
|
|
|
.welcome-text h1 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.welcome-text p {
|
|
font-size: 15px;
|
|
}
|
|
|
|
input[type="email"] {
|
|
height: 45px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.submit-button {
|
|
height: 50px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.register-link {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
@include('sweetalert::alert')
|
|
<div class="preloader">
|
|
<div class="preloader-body">
|
|
<div class="cssload-container">
|
|
<div class="cssload-speeding-wheel"></div>
|
|
</div>
|
|
<p>Loading...</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel left-panel">
|
|
<div class="panel left-panel">
|
|
<img src="{{ asset('asset/images/icon.png') }}" alt="Welcome Image" class="left-panel-image">
|
|
<img src="{{ asset('asset/images/logo3.png') }}" alt="Second Image" class="left-panel-image">
|
|
</div>
|
|
|
|
</div>
|
|
<div class="panel right-panel">
|
|
<a href="{{ route('home.index') }}" class="home-link">
|
|
<i class="fas fa-chevron-left"></i>
|
|
Beranda
|
|
</a>
|
|
|
|
<div class="welcome-text">
|
|
<h1>Reset Password</h1>
|
|
<p>Masukkan email untuk melakukan reset password</p>
|
|
</div>
|
|
<lord-icon src="https://cdn.lordicon.com/rhvddzym.json" trigger="loop" colors="primary:#1a2035"
|
|
class="avatar-xl"></lord-icon>
|
|
@if (session('success'))
|
|
<div class="alert alert-success text-center mb-2 mx-2" role="alert">
|
|
{{ session('success') }}
|
|
</div>
|
|
@else
|
|
<div class="alert alert-warning text-center mb-2 mx-2" role="alert">
|
|
Pastikan email yang anda gunakan terdaftar di SIPAYA!
|
|
</div>
|
|
@endif
|
|
<div class="form-container">
|
|
<form id="forgotForm" action="{{ route('forgot_password.process') }}" method="POST">
|
|
@csrf
|
|
<div class="form-group">
|
|
<label for="email">Email <span style="color: red">*</span></label>
|
|
<input type="email" id="email" name="email" placeholder="Masukkan email..."
|
|
value="{{ old('email') }}" style="border: 1px solid #393a36;" required>
|
|
<small id="emailErrorRequired" class="text-danger"
|
|
style="display: none; margin-top: 5px; color: #ff6b6b">Email harus diisi</small>
|
|
<small id="emailErrorInvalid" class="text-danger"
|
|
style="display: none; margin-top: 5px; color: #ff6b6b">Email tidak valid</small>
|
|
</div>
|
|
<div>
|
|
<button type="submit" id="submitButton" class="submit-button">SEND</button>
|
|
</div>
|
|
<div class="register-link" style="font-weight: 550">
|
|
<span style="color: grey">Ingin kembali?</span> <a href="{{ route('login.index') }}">Login</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script src="{{ asset('asset/js/forgotForm.js') }}"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|