mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-01-26 06:28:42 +00:00
add css version
This commit is contained in:
parent
21671a8219
commit
a50bb3ffe0
|
|
@ -355,14 +355,14 @@ final class Application
|
|||
private function initResponseHead(Head $head, HttpRequest $request, HttpResponse $response) : void
|
||||
{
|
||||
/* Load assets */
|
||||
$head->addAsset(AssetType::CSS, '../Resources/fonts/fontawesome/css/font-awesome.min.css');
|
||||
$head->addAsset(AssetType::CSS, '../Resources/fonts/Roboto/roboto.css');
|
||||
$head->addAsset(AssetType::CSS, '../Web/{APPNAME}/css/qa.css');
|
||||
$head->addAsset(AssetType::CSS, '../Resources/fonts/fontawesome/css/font-awesome.min.css?v=1.0.0');
|
||||
$head->addAsset(AssetType::CSS, '../Resources/fonts/Roboto/roboto.css?v=1.0.0');
|
||||
$head->addAsset(AssetType::CSS, '../Web/{APPNAME}/css/qa.css?v=1.0.0');
|
||||
|
||||
// Framework
|
||||
$head->addAsset(AssetType::JS, '../jsOMS/Utils/oLib.js');
|
||||
$head->addAsset(AssetType::JS, '../jsOMS/UnhandledException.js');
|
||||
$head->addAsset(AssetType::JS, '../Web/{APPNAME}/js/qa.js', ['type' => 'module']);
|
||||
$head->addAsset(AssetType::JS, '../jsOMS/Utils/oLib.js?v=1.0.0');
|
||||
$head->addAsset(AssetType::JS, '../jsOMS/UnhandledException.js?v=1.0.0');
|
||||
$head->addAsset(AssetType::JS, '../Web/{APPNAME}/js/qa.js?v=1.0.0', ['type' => 'module']);
|
||||
|
||||
$script = '';
|
||||
$response->header->set(
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ final class BackendController extends Controller
|
|||
public function setUpBackend(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||
{
|
||||
$head = $response->get('Content')->getData('head');
|
||||
$head->addAsset(AssetType::CSS, '/Modules/QA/Theme/Backend/styles.css');
|
||||
$head->addAsset(AssetType::CSS, '/Modules/QA/Theme/Backend/styles.css?v=1.0.0');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user