- 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
118 lines
6.4 KiB
PHP
118 lines
6.4 KiB
PHP
<?php
|
|
use App\Core\View;
|
|
|
|
// Definir variáveis para o layout
|
|
$page_title = 'Auth success msg cover';
|
|
$page_description = 'Página Auth success msg cover';
|
|
|
|
// 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">
|
|
<div class="col-lg-12">
|
|
<div class="card overflow-hidden">
|
|
<div class="row justify-content-center g-0">
|
|
<div class="col-lg-6">
|
|
<div class="p-lg-5 p-4 auth-one-bg h-100">
|
|
<div class="bg-overlay"></div>
|
|
<div class="position-relative h-100 d-flex flex-column">
|
|
<div class="mb-4">
|
|
<a href="/index/" class="d-block">
|
|
<img src="<?php echo \App\Core\AppConfig::getLogoLight(); ?>" alt="" height="18">
|
|
</a>
|
|
</div>
|
|
<div class="mt-auto">
|
|
<div class="mb-3">
|
|
<i class="ri-double-quotes-l display-4 text-success"></i>
|
|
</div>
|
|
|
|
<div id="qoutescarouselIndicators" class="carousel slide" data-bs-ride="carousel">
|
|
<div class="carousel-indicators">
|
|
<button type="button" data-bs-target="#qoutescarouselIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
|
|
<button type="button" data-bs-target="#qoutescarouselIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
|
|
<button type="button" data-bs-target="#qoutescarouselIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
|
|
</div>
|
|
<div class="carousel-inner text-center text-white pb-5">
|
|
<div class="carousel-item active">
|
|
<p class="fs-15 fst-italic">" Great! Clean code, clean design, easy for customization. Thanks very much! "</p>
|
|
</div>
|
|
<div class="carousel-item">
|
|
<p class="fs-15 fst-italic">" The theme is really great with an amazing customer support."</p>
|
|
</div>
|
|
<div class="carousel-item">
|
|
<p class="fs-15 fst-italic">" Great! Clean code, clean design, easy for customization. Thanks very much! "</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end carousel -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end col -->
|
|
|
|
<div class="col-lg-6">
|
|
<div class="p-lg-5 p-4 text-center">
|
|
<div class="avatar-lg mx-auto mt-2">
|
|
<div class="avatar-title bg-light text-success display-3 rounded-circle">
|
|
<i class="ri-checkbox-circle-fill"></i>
|
|
</div>
|
|
</div>
|
|
<div class="mt-4 pt-2">
|
|
<h4>Well done !</h4>
|
|
<p class="text-muted mx-4">Aww yeah, you successfully read this important message.</p>
|
|
<div class="mt-4">
|
|
<a href="/auth-signin-basic/" class="btn btn-success w-100">Back to Dashboard</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end col -->
|
|
</div>
|
|
<!-- end row -->
|
|
</div>
|
|
<!-- end card -->
|
|
</div>
|
|
<!-- end col -->
|
|
|
|
</div>
|
|
<!-- end row -->
|
|
</div>
|
|
<!-- end container -->
|
|
</div>
|
|
<!-- end auth page content -->
|
|
|
|
<!-- footer -->
|
|
<footer class="footer">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="text-center">
|
|
<p class="mb-0">©
|
|
<script>document.write(new Date().getFullYear(])</script> <?php echo \App\Core\AppConfig::getCompanyName(); ?>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<!-- end Footer -->
|
|
</div>
|
|
<!-- end auth-page-wrapper -->
|
|
<?php
|
|
}
|
|
]);
|
|
?>
|