Added logs page to the panel

This commit is contained in:
Pinga 2023-08-29 11:08:35 +03:00
parent 4abca19ba3
commit 361ccb3a7e
8 changed files with 163 additions and 42 deletions

View file

@ -5,6 +5,7 @@ use App\Controllers\HomeController;
use App\Controllers\DomainsController;
use App\Controllers\ContactsController;
use App\Controllers\HostsController;
use App\Controllers\LogsController;
use App\Controllers\ProfileController;
use App\Middleware\AuthMiddleware;
use App\Middleware\GuestMiddleware;
@ -37,6 +38,7 @@ $app->group('', function ($route) {
$route->get('/domains', DomainsController::class .':view')->setName('domains');
$route->get('/contacts', ContactsController::class .':view')->setName('contacts');
$route->get('/hosts', HostsController::class .':view')->setName('hosts');
$route->get('/logs', LogsController::class .':view')->setName('logs');
$route->get('/profile', ProfileController::class .':profile')->setName('profile');
$route->get('/profile/notifications', ProfileController::class .':notifications')->setName('notifications');
$route->get('/profile/security', ProfileController::class .':security')->setName('security');