150 lines
3.5 KiB
PHP
150 lines
3.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>Reset Password - SENTARA</title>
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
|
|
<style>
|
|
body{
|
|
background:#f5f7fb;
|
|
}
|
|
|
|
.left-panel{
|
|
background: linear-gradient(180deg,#0f3fb9,#1546cf);
|
|
}
|
|
|
|
.input-box{
|
|
width:100%;
|
|
border:1px solid #dbe3ef;
|
|
border-radius:10px;
|
|
padding:14px 16px;
|
|
outline:none;
|
|
}
|
|
|
|
.input-box:focus{
|
|
border-color:#2563eb;
|
|
box-shadow:0 0 0 3px rgba(37,99,235,.15);
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body class="min-h-screen flex items-center justify-center p-6">
|
|
|
|
<div class="bg-white rounded-3xl shadow-xl overflow-hidden max-w-5xl w-full grid md:grid-cols-2">
|
|
|
|
<!-- LEFT -->
|
|
<div class="left-panel text-white p-10 flex flex-col justify-between">
|
|
|
|
<div>
|
|
|
|
<img src="<?php echo e(asset('images/logo-sentara.png')); ?>"
|
|
class="w-56 mb-10"
|
|
alt="logo">
|
|
|
|
<h1 class="text-3xl font-bold mb-4">
|
|
Buat Password Baru
|
|
</h1>
|
|
|
|
<p class="text-blue-100 leading-7">
|
|
Masukkan password baru Anda
|
|
pada form di samping.
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="text-center mt-12 text-8xl">
|
|
🔐
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- RIGHT -->
|
|
<div class="p-10">
|
|
|
|
<h2 class="text-4xl font-bold text-slate-800 mb-3">
|
|
Reset Password
|
|
</h2>
|
|
|
|
<p class="text-slate-500 mb-8">
|
|
Masukkan password baru untuk akun Anda.
|
|
</p>
|
|
|
|
<?php if($errors->any()): ?>
|
|
<div class="bg-red-100 text-red-600 p-3 rounded-xl mb-5">
|
|
<?php echo e($errors->first()); ?>
|
|
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<form method="POST" action="<?php echo e(route('custom.password.update')); ?>">
|
|
|
|
<?php echo csrf_field(); ?>
|
|
|
|
|
|
<input type="hidden"
|
|
name="token"
|
|
value="<?php echo e($token ?? request()->route('token')); ?>">
|
|
|
|
<input type="hidden"
|
|
name="email"
|
|
value="<?php echo e($email ?? request()->email); ?>">
|
|
|
|
<!-- PASSWORD -->
|
|
|
|
<div class="mb-6">
|
|
|
|
<label class="font-semibold block mb-2">
|
|
Password Baru
|
|
</label>
|
|
|
|
<input
|
|
type="password"
|
|
name="password"
|
|
placeholder="Masukkan password baru"
|
|
class="input-box"
|
|
required
|
|
>
|
|
|
|
<small class="text-gray-400">
|
|
Minimal 8 karakter
|
|
</small>
|
|
|
|
</div>
|
|
|
|
<!-- CONFIRM -->
|
|
|
|
<div class="mb-8">
|
|
|
|
<label class="font-semibold block mb-2">
|
|
Konfirmasi Password
|
|
</label>
|
|
|
|
<input
|
|
type="password"
|
|
name="password_confirmation"
|
|
placeholder="Konfirmasi password baru"
|
|
class="input-box"
|
|
required
|
|
>
|
|
|
|
</div>
|
|
|
|
<button
|
|
class="w-full bg-blue-600 hover:bg-blue-700 transition text-white py-4 rounded-xl font-semibold shadow-lg">
|
|
|
|
🔒 Reset Password
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html><?php /**PATH C:\laragon\www\SistemAnalisisSentimen\resources\views/auth/reset-password.blade.php ENDPATH**/ ?>
|