diff --git a/meta/definitions/software.php b/meta/definitions/software.php index d954ed1..74e5343 100644 --- a/meta/definitions/software.php +++ b/meta/definitions/software.php @@ -7,7 +7,7 @@ $path = dirname(__DIR__, 2); return [ 'lean.console' => [ 'picea' => [ - 'context' => "Lean\\Console\\View", + 'context' => Lean\Console\View::class, 'view' => [ [ @@ -31,14 +31,14 @@ return [ 'tell' => [ 'json' => [ [ - 'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/meta/i18n", + 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "meta", "i18n", "" ]), 'order' => 99, ], ] ], 'routes' => [ - 'Lean\\Console\\Controller' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/src/Controller/", + 'Lean\\Console\\Controller' => implode(DIRECTORY_SEPARATOR, [ $path, "src", "Controller", "" ]), ], ], diff --git a/view/lean-console/base/layout.phtml b/view/lean-console/base/layout.phtml index 8630a1a..68bb98b 100644 --- a/view/lean-console/base/layout.phtml +++ b/view/lean-console/base/layout.phtml @@ -13,8 +13,9 @@ <title>{{ title() }}</title> + <link rel="stylesheet" href='{% asset "lean-console/lean-console-bw.css" %}'> + <style> - {% asset "lean-console/lean-console-bw.css" %} {# include "lean-console/lean-console-bw.css" #} </style>