Spaces:
Running

malipo / password-reset.html
Meech888's picture
create a password reset module for the client that sends a password reset link to their email and link it with the Forgot your password button on the sign in page - Follow Up Deployment
21dedec verified
Raw History Blame Contribute Delete
3.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Reset | MALiPo</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.auth-bg {
background: linear-gradient(135deg, #6e00ff 0%, #00d1ff 100%);
}
.auth-card {
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="font-sans antialiased text-gray-900">
<!-- Navigation -->
<nav class="bg-white shadow-sm fixed w-full z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="zap" class="h-8 w-8 text-indigo-600"></i>
<span class="ml-2 text-xl font-bold text-gray-900">MALiPo</span>
</div>
</div>
<div class="flex items-center">
<a href="index.html" class="text-gray-500 hover:text-indigo-600 px-4 py-2 text-sm font-medium">Back to Home</a>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="min-h-screen flex items-center justify-center auth-bg py-20 px-4 sm:px-6 lg:px-8">
<div class="max-w-md w-full space-y-8 bg-white p-10 rounded-xl auth-card">
<div class="text-center">
<i data-feather="lock" class="mx-auto h-12 w-12 text-indigo-600"></i>
<h2 class="mt-6 text-3xl font-extrabold text-gray-900">
Reset your password
</h2>
<p class="mt-2 text-sm text-gray-600">
Enter your email address and we'll send you a link to reset your password.
</p>
</div>
<form class="mt-8 space-y-6" action="#" method="POST">
<div class="rounded-md shadow-sm space-y-4">
<div>
<label for="email-address" class="sr-only">Email address</label>
<input id="email-address" name="email" type="email" autocomplete="email" required class="appearance-none relative block w-full px-3 py-3 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm" placeholder="Email address">
</div>
</div>
<div>
<button type="submit" class="group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Send Reset Link
</button>
</div>
</form>
<div class="text-center mt-4">
<a href="signin.html" class="font-medium text-indigo-600 hover:text-indigo-500">
Back to Sign In
</a>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>