mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
src: style sweep
This commit is contained in:
parent
20a8006b67
commit
e5c4cb0ce8
1
plist
1
plist
@ -499,6 +499,7 @@
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Auth/Services/WebGui.php
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Auth/Voucher.php
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Autoload/Loader.php
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Backup/BackupFactory.php
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Backup/Base.php
|
||||
/usr/local/opnsense/mvc/app/library/OPNsense/Backup/GDrive.php
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once (__DIR__ . '/../../app/library/OPNsense/Autoload/Loader.php');
|
||||
require_once(__DIR__ . '/../../app/library/OPNsense/Autoload/Loader.php');
|
||||
use OPNsense\Autoload\Loader;
|
||||
$loader_paths = [
|
||||
$config->application->controllersDir,
|
||||
|
||||
@ -34,7 +34,7 @@ class Loader
|
||||
private $is_registered = false;
|
||||
private $classes_loaded = [];
|
||||
|
||||
public function __construct($dirs=null)
|
||||
public function __construct($dirs = null)
|
||||
{
|
||||
$this->probe_dirs = $dirs;
|
||||
}
|
||||
@ -56,7 +56,7 @@ class Loader
|
||||
public function register()
|
||||
{
|
||||
if (!$this->is_registered) {
|
||||
spl_autoload_register([$this, "autoload"],true);
|
||||
spl_autoload_register([$this, "autoload"], true);
|
||||
$this->is_registered = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
require_once (__DIR__ . '/../app/library/OPNsense/Autoload/Loader.php');
|
||||
require_once(__DIR__ . '/../app/library/OPNsense/Autoload/Loader.php');
|
||||
use OPNsense\Autoload\Loader;
|
||||
$phalcon_config = include("/usr/local/opnsense/mvc/app/config/config.php");
|
||||
$loader_paths = [
|
||||
|
||||
@ -36,5 +36,3 @@ $config = include __DIR__ . "/app/config/config.php";
|
||||
* Read auto-loader
|
||||
*/
|
||||
include __DIR__ . "/../app/config/loader.php";
|
||||
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ export default class BaseTableWidget extends BaseWidget {
|
||||
setTableOptions(options = {}) {
|
||||
/**
|
||||
* headerPosition: top, left or none.
|
||||
* top: headers are on top of the table. Headers are defined in the options. Data layout:
|
||||
* top: headers are on top of the table. Headers are defined in the options. Data layout:
|
||||
* [
|
||||
* ['x', 'y', 'z'],
|
||||
* ['x', 'y', 'z']
|
||||
@ -123,9 +123,9 @@ export default class BaseTableWidget extends BaseWidget {
|
||||
* ['y', 'y1'],
|
||||
* ['z', ['z1', 'z2']] <-- supports nested columns
|
||||
* ]
|
||||
*
|
||||
*
|
||||
* none: no headers, same data layout as 'top', without headers set as an option.
|
||||
*
|
||||
*
|
||||
* rotation: limit table entries to a certain amount, and rotate them. Only applicable for headerPosition: top.
|
||||
* headers: list of headers to display. Only applicable for headerPosition: top.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user