Use latest hipster tools to manage assets

This commit is contained in:
Frederic Guillot
2016-05-15 12:33:44 -04:00
parent 68c087e85c
commit c15c4ba0f4
105 changed files with 7636 additions and 355 deletions

View File

@@ -8,6 +8,3 @@
</div>
</section>
</section>
<?= $this->asset->js('assets/js/vendor/d3.v3.min.js') ?>
<?= $this->asset->js('assets/js/vendor/c3.min.js') ?>

View File

@@ -12,13 +12,10 @@
<meta http-equiv="refresh" content="<?= $board_public_refresh_interval ?>">
<?php endif ?>
<?php if (! isset($not_editable)): ?>
<?= $this->asset->js('assets/js/app.js') ?>
<?php endif ?>
<?= $this->asset->colorCss() ?>
<?= $this->asset->css('assets/css/app.css') ?>
<?= $this->asset->css('assets/css/print.css', true, 'print') ?>
<?= $this->asset->css('assets/css/vendor.min.css') ?>
<?= $this->asset->css('assets/css/app.min.css') ?>
<?= $this->asset->css('assets/css/print.min.css', true, 'print') ?>
<?= $this->asset->customCss() ?>
<?= $this->hook->asset('css', 'template:layout:css') ?>
@@ -62,6 +59,10 @@
<?= $content_for_layout ?>
</section>
<?= $this->hook->render('template:layout:bottom') ?>
<?php endif ?>
<?php endif ?>
<?php if (! isset($not_editable)): ?>
<?= $this->asset->js('assets/js/vendor.min.js') ?>
<?= $this->asset->js('assets/js/app.min.js') ?>
<?php endif ?>
</body>
</html>

View File

@@ -34,6 +34,3 @@
<li><?= t('If the task is not closed the current time is used instead of the completion date.') ?></li>
</ul>
</div>
<?= $this->asset->js('assets/js/vendor/d3.v3.min.js') ?>
<?= $this->asset->js('assets/js/vendor/c3.min.js') ?>