- Add complete Auth module with login, logout, lock screen functionality - Fix 401 error on error monitoring page by adding /error-monitoring/ to public patterns - Improve lock screen with proper form handling and unlock functionality - Add RoleModel and role management views - Add BaseModel for common model functionality - Update authentication system and middleware - Add troubleshooting documentation - Update assets and build tools
53 lines
2.0 KiB
PHP
53 lines
2.0 KiB
PHP
<?php
|
|
use App\Core\View;
|
|
|
|
// Definir variáveis para o layout
|
|
$page_title = 'Auth 404 alt';
|
|
$page_description = 'Página Auth 404 alt';
|
|
|
|
// Incluir o layout principal
|
|
View::render('layouts/auth.php', [
|
|
'title' => $page_title,
|
|
'description' => $page_description,
|
|
'page_content' => function() {
|
|
?>
|
|
<?php
|
|
View::include('layouts/main.php');?>
|
|
|
|
<!-- auth-page wrapper -->
|
|
<div class="auth-page-wrapper auth-bg-cover py-5 d-flex justify-content-center align-items-center min-vh-100">
|
|
<div class="bg-overlay"></div>
|
|
<!-- auth-page content -->
|
|
<div class="auth-page-content overflow-hidden pt-lg-5">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-xl-5">
|
|
<div class="card overflow-hidden">
|
|
<div class="card-body p-4">
|
|
<div class="text-center">
|
|
<lord-icon class="avatar-xl" src="/assets/lordicon/etwtznjn.json" trigger="loop" colors="primary:#405189,secondary:#0ab39c">
|
|
</lord-icon>
|
|
<h1 class="text-primary mb-4">Oops !</h1>
|
|
<h4 class="text-uppercase">Sorry, Page not Found 😭</h4>
|
|
<p class="text-muted mb-4">The page you are looking for not available!</p>
|
|
<a href="/" class="btn btn-success"><i class="mdi mdi-home me-1"></i>Back to home</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end card -->
|
|
</div>
|
|
<!-- end col -->
|
|
|
|
</div>
|
|
<!-- end row -->
|
|
</div>
|
|
<!-- end container -->
|
|
</div>
|
|
<!-- end auth page content -->
|
|
</div>
|
|
<!-- end auth-page-wrapper -->
|
|
<?php
|
|
}
|
|
]);
|
|
?>
|