2014-05-14 23:24:20 +10:00
|
|
|
<meta charset="utf-8">
|
2014-08-13 21:23:19 +10:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0, minimal-ui">
|
2018-02-02 13:35:59 -06:00
|
|
|
<meta name="robots" content="noindex">
|
2014-08-13 21:23:19 +10:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
2016-04-24 05:36:02 +10:00
|
|
|
<meta name="app-timezone" content="<?= e(Config::get('app.timezone')) ?>">
|
2015-06-20 21:13:03 +10:00
|
|
|
<meta name="backend-base-path" content="<?= Backend::baseUrl() ?>">
|
2016-05-27 07:46:50 +10:00
|
|
|
<meta name="backend-timezone" content="<?= e(Backend\Models\Preference::get('timezone')) ?>">
|
|
|
|
<meta name="backend-locale" content="<?= e(Backend\Models\Preference::get('locale')) ?>">
|
2015-06-20 21:17:58 +10:00
|
|
|
<meta name="csrf-token" content="<?= csrf_token() ?>">
|
2019-01-22 05:25:56 +00:00
|
|
|
<link rel="icon" type="image/png" href="<?= e(Backend\Models\BrandSetting::getFavicon()) ?>">
|
2016-05-27 07:37:49 +10:00
|
|
|
<title data-title-template="<?= empty($this->pageTitleTemplate) ? '%s' : e($this->pageTitleTemplate) ?> | <?= e(Backend\Models\BrandSetting::get('app_name')) ?>">
|
|
|
|
<?= e(trans($this->pageTitle)) ?> | <?= e(Backend\Models\BrandSetting::get('app_name')) ?>
|
2014-06-26 15:29:38 +11:00
|
|
|
</title>
|
2015-07-29 19:19:08 +10:00
|
|
|
<?php
|
2016-05-31 08:17:25 +10:00
|
|
|
$coreBuild = System\Models\Parameter::get('system::core.build', 1);
|
2019-04-18 23:31:02 -06:00
|
|
|
$styles = [
|
|
|
|
Url::asset('modules/system/assets/ui/storm.css'),
|
|
|
|
Backend::skinAsset('assets/css/october.css'),
|
|
|
|
];
|
|
|
|
$scripts = [
|
|
|
|
Backend::skinAsset('assets/js/vendor/jquery.min.js'),
|
|
|
|
Backend::skinAsset('assets/js/vendor/jquery-migrate.min.js'),
|
|
|
|
Url::asset('modules/system/assets/js/framework.js'),
|
|
|
|
Url::asset('modules/system/assets/ui/storm-min.js'),
|
|
|
|
Backend::skinAsset('assets/js/october-min.js'),
|
|
|
|
Url::asset('modules/system/assets/js/lang/lang.'.App::getLocale().'.js'),
|
|
|
|
Backend::skinAsset('assets/js/october.flyout.js'),
|
|
|
|
Backend::skinAsset('assets/js/october.tabformexpandcontrols.js'),
|
|
|
|
];
|
2015-07-29 19:19:08 +10:00
|
|
|
?>
|
2019-04-19 06:09:26 +01:00
|
|
|
|
2019-04-18 23:31:02 -06:00
|
|
|
<?php foreach ($styles as $style) : ?>
|
2019-06-16 23:17:34 +01:00
|
|
|
<link href="<?= $style . '?v=' . $coreBuild; ?>" rel="stylesheet" importance="high">
|
|
|
|
<link href="<?= $style . '?v=' . $coreBuild; ?>" rel="preload" as="style" importance="high">
|
2019-04-18 23:31:02 -06:00
|
|
|
<?php endforeach; ?>
|
2018-10-31 01:36:44 +00:00
|
|
|
|
2019-04-18 23:31:02 -06:00
|
|
|
<?php foreach ($scripts as $script) : ?>
|
2019-06-16 23:17:34 +01:00
|
|
|
<script data-cfasync="false" src="<?= $script . '?v=' . $coreBuild; ?>" importance="high"></script>
|
|
|
|
<link href="<?= $script . '?v=' . $coreBuild; ?>" rel="preload" as="script" importance="high">
|
2019-04-18 23:31:02 -06:00
|
|
|
<?php endforeach; ?>
|
2015-07-07 21:37:18 -07:00
|
|
|
|
2014-05-14 23:24:20 +10:00
|
|
|
<?= $this->makeAssets() ?>
|
2014-10-13 18:08:59 +11:00
|
|
|
<?= Block::placeholder('head') ?>
|
2018-02-02 13:35:59 -06:00
|
|
|
<?= $this->makeLayoutPartial('custom_styles') ?>
|