feat: add logs page with filtering and data table
- Implemented a new logs page with filters for level, source, and date range. - Added a data table to display logs with pagination and sorting capabilities. - Created backend functionality to fetch logs data based on filters. - Introduced a new Logs class for handling log data operations. - Added a new database migration for the logs table. - Enhanced UI with custom checkbox styles for better user experience. - Updated navigation to include a link to the logs page.
This commit is contained in:
@@ -123,6 +123,12 @@
|
||||
<span>Allegro import</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?= $module === 'logs' ? 'active' : '' ?>">
|
||||
<a href="/logs">
|
||||
<i class="fa-solid fa-file-lines"></i>
|
||||
<span>Logi</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-divider"></li>
|
||||
<li class="<?= $module === 'users' ? 'active' : '' ?>">
|
||||
<a href="/settings">
|
||||
@@ -165,6 +171,7 @@
|
||||
'xml_files' => 'Pliki XML',
|
||||
'facebook_ads' => 'Facebook Ads',
|
||||
'allegro' => 'Allegro import',
|
||||
'logs' => 'Logi',
|
||||
'users' => 'Ustawienia',
|
||||
];
|
||||
echo $breadcrumbs[$module] ?? 'adsPRO';
|
||||
|
||||
Reference in New Issue
Block a user