- <?php
-
-
- namespace backend\assets;
-
- use yii\web\AssetBundle;
- use yii ;
-
-
- class AppAsset extends \common\components\MyAssetBundle
- {
- public $basePath = '@webroot';
- public $baseUrl = '@web';
- public $css = [];
- public $js = [];
- public $depends = [
- 'rmrevin\yii\fontawesome\AssetBundle'
- ];
-
- public function __construct() {
- parent::__construct() ;
-
- $dirJquery = 'js/jquery-ui-1.12.1.custom';
- $dirSelect2 = 'js/select2-4.0.13';
-
-
- $this->addAsset('css','bootstrap/css/bootstrap.min.css') ;
- $this->addAsset('css',$dirJquery.'/jquery-ui.min.css');
- $this->addAsset('css',$dirJquery.'/jquery-ui.theme.min.css') ;
- $this->addAsset('css',$dirSelect2.'/css/select2.min.css') ;
- $this->addAsset('css','css/site.css') ;
- $this->addAsset('css','css/screen.css') ;
-
-
- $this->addAsset('js','bootstrap/js/bootstrap.min.js') ;
- $this->addAsset('js',$dirJquery.'/jquery-ui.min.js') ;
- $this->addAsset('js',$dirSelect2.'/js/select2.min.js') ;
- $this->addAsset('js','js/backend.js') ;
-
-
- $this->addAsset('js','js/vuejs/user-form.js') ;
- $this->addAsset('js','js/vuejs/distribution-index.js') ;
- $this->addAsset('js','js/vuejs/subscription-form.js') ;
- $this->addAsset('js', 'js/vuejs/document-form.js');
- $this->addAsset('js','js/vuejs/producer-update.js') ;
- $this->addAsset('js','js/vuejs/report-index.js') ;
- $this->addAsset('js','js/vuejs/setting-form.js') ;
- }
- }
|