Files
alrahma_sunday_school/app/Views/user/password_reset_confirmation.php
T
root a354d78fa9
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Failing after 1m20s
fix reset password
2026-08-26 20:45:23 -04:00

28 lines
1.4 KiB
PHP

<!-- app/Views/user/password_reset_confirmation.php -->
<?php if (session()->getFlashdata('show_modal')): ?>
<div class="modal fade" id="emailConfirmModal" tabindex="-1" aria-labelledby="emailConfirmLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content rounded-4 shadow border-0" style="max-width: 600px; margin: auto;">
<div class="modal-body text-center">
<img src="<?= base_url('assets/images/alrahma_logo.png') ?>" alt="Logo" style="width: 120px; height: 120px; border-radius: 50%; object-fit: contain; background-color: #fff;">
<h5 class="modal-title text-success" id="emailConfirmLabel">Check Your Email</h5>
<p class="lead mt-3">
A link to reset the password has been sent to this email:<br>
<strong><?= esc(session()->getFlashdata('email')) ?></strong>
</p>
<p>Please check your inbox and follow the instructions to reset the password.</p>
<a href="<?= base_url('login') ?>" class="btn btn-success mt-3">Return to Login</a>
</div>
</div>
</div>
</div>
<script>
window.addEventListener('DOMContentLoaded', function() {
const modal = new bootstrap.Modal(document.getElementById('emailConfirmModal'));
modal.show();
});
</script>
<?php endif; ?>