122 lines
3.6 KiB
PHP
122 lines
3.6 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>Forgot Password</title>
|
|
|
|
<!-- Google Fonts -->
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700,800,900" rel="stylesheet">
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<style>
|
|
body {
|
|
background-image: url('https://example.com/path-to-your-background-image.jpg'); /* Ganti URL gambar */
|
|
background-size: cover;
|
|
background-position: center;
|
|
font-family: 'Nunito', sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 500px;
|
|
padding: 20px;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 700;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.form-group label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-control {
|
|
font-weight: 400;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.btn {
|
|
background-color: #4CAF50;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
.text-center a {
|
|
color: #4CAF50;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<h1 class="h4 text-gray-900 mb-2">Lupa Kata Sandi Anda?</h1>
|
|
<p class="mb-4 text-center">Masukkan alamat email Anda di bawah ini dan kami akan mengirimkan tautan untuk mengatur ulang kata sandi Anda!</p>
|
|
|
|
{{-- Notifikasi sukses --}}
|
|
@if (session('success'))
|
|
<div class="alert alert-success">{{ session('success') }}</div>
|
|
@endif
|
|
|
|
{{-- Notifikasi error --}}
|
|
@if (session('error'))
|
|
<div class="alert alert-danger">{{ session('error') }}</div>
|
|
@endif
|
|
|
|
{{-- Validasi error --}}
|
|
@if ($errors->any())
|
|
<div class="alert alert-danger">
|
|
<ul class="mb-0">
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
<form class="user" method="POST" action="{{ route('forgot_password.process') }}">
|
|
@csrf
|
|
<div class="form-group">
|
|
<input type="email" class="form-control" id="email" name="email"
|
|
placeholder="Masukkan alamat email..." value="{{ old('email') }}" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-block">
|
|
Reset Password
|
|
</button>
|
|
</form>
|
|
|
|
<div class="text-center mt-4">
|
|
<a class="small" href="{{ route('register') }}">Buat akun!</a>
|
|
</div>
|
|
<div class="text-center">
|
|
<a class="small" href="{{ route('login') }}">Kembali ke Login</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Bootstrap & jQuery -->
|
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
|
|
</html>
|