- 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
47 lines
1.7 KiB
PHP
47 lines
1.7 KiB
PHP
<?php
|
|
use App\Core\View;
|
|
|
|
// Definir variáveis para o layout
|
|
$page_title = 'Auth 500';
|
|
$page_description = 'Página Auth 500';
|
|
|
|
// 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 py-5 d-flex justify-content-center align-items-center min-vh-100">
|
|
|
|
<!-- auth-page content -->
|
|
<div class="auth-page-content overflow-hidden p-0">
|
|
|
|
<div class="row justify-content-center">
|
|
<div class="col-xl-4 text-center">
|
|
<div class="error-500 position-relative">
|
|
<img src="<?php echo View::asset('/assets/images/error500.png'); ?>" alt="" class="img-fluid error-500-img error-img" />
|
|
<h1 class="title text-muted">500</h1>
|
|
</div>
|
|
<div>
|
|
<h4>Internal Server Error!</h4>
|
|
<p class="text-muted w-75 mx-auto">Server Error 500. We're not exactly sure what happened, but our servers say something is wrong.</p>
|
|
<a href="/" class="btn btn-success"><i class="mdi mdi-home me-1"></i>Back to home</a>
|
|
</div>
|
|
</div><!-- end col-->
|
|
</div>
|
|
<!-- end row -->
|
|
</div>
|
|
<!-- end container -->
|
|
</div>
|
|
<!-- end auth-page content -->
|
|
</div>
|
|
<!-- end auth-page-wrapper -->
|
|
<?php
|
|
}
|
|
]);
|
|
?>
|