mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
- Removed inlcudes of RESTClient from PHP (FHC-Common, FHC-Footer and views/system/logs/logsViewer)
- Changed RESTClient to be a JS module - Now RESTClient is included via JS in the app LogsViewer and in component Navigation - Added new directory public/js/components/navigation - Moved component Navigation to public/js/components/navigation - Moved API calls of the Navigation component to public/js/components/navigation/API.js - Navigation component now imports public/js/components/navigation/API.js
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
'bootstrap5' => true,
|
||||
'fontawesome6' => true,
|
||||
'jquery3' => true,
|
||||
'restclient' => true,
|
||||
'tablesorter2' => true,
|
||||
'vue3' => true,
|
||||
'filtercomponent' => true,
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
$filterwidget = isset($filterwidget) ? $filterwidget : false;
|
||||
$navigationcomponent = isset($navigationcomponent) ? $navigationcomponent : false;
|
||||
$navigationwidget = isset($navigationwidget) ? $navigationwidget : false;
|
||||
$restclient = isset($restclient) ? $restclient : false;
|
||||
$tablecomponent = isset($tablecomponent) ? $tablecomponent : false;
|
||||
$tablewidget = isset($tablewidget) ? $tablewidget : false;
|
||||
$udfs = isset($udfs) ? $udfs : false;
|
||||
|
||||
@@ -132,9 +132,6 @@
|
||||
// PhrasesLib JS
|
||||
if ($phrases != null) generateJSsInclude('public/js/PhrasesLib.js');
|
||||
|
||||
// RESTClient
|
||||
if ($restclient === true) generateJSsInclude('public/js/RESTClient.js');
|
||||
|
||||
// TableWidget JS
|
||||
if ($tablewidget === true) generateJSsInclude('public/js/TableWidget.js');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user