170 lines
4.2 KiB
Plaintext
170 lines
4.2 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
|
<title>Lupa Password - DJEE Elektronik</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
|
|
/>
|
|
<style>
|
|
body {
|
|
background: linear-gradient(135deg, #b5eae0 0%, #88d8cc 100%);
|
|
}
|
|
|
|
.forgot-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.forgot-card {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-radius: 20px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.input-group {
|
|
position: relative;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.input-group input {
|
|
width: 100%;
|
|
padding: 12px 16px 12px 40px;
|
|
border: 2px solid #e5e7eb;
|
|
border-radius: 12px;
|
|
transition: all 0.3s ease;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.input-group input:focus {
|
|
border-color: #b5eae0;
|
|
box-shadow: 0 0 0 4px rgba(181, 234, 224, 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
.input-group i {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #b5eae0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #b5eae0 0%, #9cd5cb 100%);
|
|
color: #1a1a1a;
|
|
padding: 12px 24px;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
width: 100%;
|
|
text-align: center;
|
|
display: block;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.alert {
|
|
padding: 1rem;
|
|
border-radius: 12px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.alert-success {
|
|
background-color: #dcfce7;
|
|
border: 1px solid #86efac;
|
|
color: #166534;
|
|
}
|
|
|
|
.alert-error {
|
|
background-color: #fee2e2;
|
|
border: 1px solid #fca5a5;
|
|
color: #991b1b;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="forgot-container">
|
|
<div class="forgot-card">
|
|
<div class="text-center mb-6">
|
|
<img
|
|
src="{{ asset('assets/images/logo.png') }}"
|
|
alt="Logo"
|
|
class="mx-auto mb-2 w-16"
|
|
/>
|
|
<h2 class="text-xl font-semibold">Lupa Password</h2>
|
|
<p class="text-gray-600 mt-2">
|
|
Masukkan username dan nomor HP Anda untuk mendapatkan password baru.
|
|
</p>
|
|
</div>
|
|
|
|
@if (session('status'))
|
|
<div class="alert alert-success" role="alert">
|
|
{{ session("status") }}
|
|
</div>
|
|
@endif @if($errors->any())
|
|
<div class="alert alert-error">
|
|
<ul class="list-disc list-inside">
|
|
@foreach($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
<form method="POST" action="{{ route('password.email') }}">
|
|
@csrf
|
|
<div class="input-group">
|
|
<i class="fas fa-user"></i>
|
|
<input
|
|
type="text"
|
|
name="username"
|
|
value="{{ old('username') }}"
|
|
placeholder="Username"
|
|
required
|
|
/>
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
<i class="fas fa-phone"></i>
|
|
<input
|
|
type="text"
|
|
name="nomor_hp"
|
|
value="{{ old('nomor_hp') }}"
|
|
placeholder="Nomor HP"
|
|
required
|
|
/>
|
|
</div>
|
|
|
|
<button type="submit" class="btn-primary">Reset Password</button>
|
|
|
|
<div class="text-center">
|
|
<a
|
|
href="{{ route('login') }}"
|
|
class="text-blue-500 hover:underline"
|
|
>
|
|
Kembali ke Login
|
|
</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|