Files
dockergprompt/resources/views/auth/forgot-password.blade.php
T
2026-09-01 09:22:30 -03:00

56 lines
2.8 KiB
PHP
Executable File

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Recuperar Senha - GPrompt</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<style>
body { font-family: 'Roboto', sans-serif; background-color: #f8f9fc; }
.forgot-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.forgot-card { border: none; box-shadow: 0 2px 15px rgba(0,0,0,0.1); border-radius: 10px; width: 100%; max-width: 400px; }
.forgot-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 10px 10px 0 0; padding: 2rem; text-align: center; }
</style>
</head>
<body>
<div class="forgot-container d-flex flex-column">
<div class="forgot-card flex-grow-0">
<div class="forgot-header">
<i class="bi bi-key" style="font-size: 3rem;"></i>
<h2 class="mt-2">Recuperar Senha</h2>
<p>Informe seu e-mail para receber o link</p>
</div>
<div class="card-body p-4">
@if(session('status'))
<div class="alert alert-success">{{ session('status') }}</div>
@endif
@if(session('error'))
<div class="alert alert-danger">{{ session('error') }}</div>
@endif
<form method="POST" action="{{ route('password.email') }}">
@csrf
<div class="mb-3">
<label for="email" class="form-label">E-mail</label>
<input type="email" class="form-control" id="email" name="email" value="{{ old('email') }}" required autofocus autocomplete="email">
@error('email') <div class="text-danger small">{{ $message }}</div> @enderror
</div>
<button type="submit" class="btn btn-primary w-100">Enviar Link</button>
</form>
<div class="mt-3 text-center">
<a href="{{ route('login') }}"><i class="bi bi-arrow-left"></i> Voltar para login</a>
</div>
</div>
</div>
@include('components.app-footer')
</div>
@include('components.cookie-consent-banner')
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>