You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppAsset.php 1.2KB

8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace frontend\assets;
  8. use yii\web\AssetBundle;
  9. /**
  10. * @author Qiang Xue <qiang.xue@gmail.com>
  11. * @since 2.0
  12. */
  13. class AppAsset extends AssetBundle
  14. {
  15. public $basePath = '@webroot';
  16. public $baseUrl = '@web';
  17. public $css = [
  18. 'bootstrap/css/bootstrap.min.css',
  19. 'bootstrap/css/bootstrap-theme.min.css',
  20. 'js/bjqs/bjqs.css',
  21. 'js/jquery-ui-1.11.4.custom/jquery-ui.min.css',
  22. 'js/jquery-ui-1.11.4.custom/jquery-ui.theme.css',
  23. 'js/lightbox/css/lightbox.css',
  24. 'css/screen.css?v=3',
  25. ];
  26. public $js = [
  27. // > on le met dans le head
  28. // 'js/html5shiv.min.js',
  29. // > déjà présent
  30. //'js/jquery-1.11.2.min.js',
  31. 'bootstrap/js/bootstrap.min.js',
  32. 'js/vegas/jquery.vegas.js',
  33. 'js/vegas/jquery.vegas.js',
  34. 'js/bjqs/bjqs-1.3.min.js',
  35. 'js/jquery-ui-1.11.4.custom/jquery-ui.min.js',
  36. 'js/lightbox/js/lightbox.min.js',
  37. 'js/lechatdesnoisettes.js?v=3',
  38. ];
  39. public $depends = [
  40. 'yii\web\YiiAsset',
  41. 'yii\bootstrap\BootstrapAsset',
  42. ];
  43. }