diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-23 20:47:46 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-23 20:47:46 -0400 |
commit | 948ebb242490092c5a7e187c3b7813134b047d5e (patch) | |
tree | 28ed10f76c648ad8c70ffcc74e85c6de1ad8cfde /app/Template/layout.php | |
parent | cdd2080fc0041d71b99862a9aa3542fe6150c6c4 (diff) |
Improve assets loading: remove http call to load task colors and async load of app.js
Diffstat (limited to 'app/Template/layout.php')
-rw-r--r-- | app/Template/layout.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php index 0d9326f4..c630132d 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -12,12 +12,12 @@ <?php endif ?> <?php if (! isset($not_editable)): ?> - <?= $this->asset->js('assets/js/app.js') ?> + <?= $this->asset->js('assets/js/app.js', true) ?> <?php endif ?> - <?= $this->asset->css($this->url->href('app', 'colors'), false, 'all') ?> <?= $this->asset->css('assets/css/app.css') ?> <?= $this->asset->css('assets/css/print.css', true, 'print') ?> + <?= $this->asset->colorCss() ?> <?= $this->asset->customCss() ?> <link rel="icon" type="image/png" href="assets/img/favicon.png"> |