Qiang Xue
12 years ago
68 changed files with 910 additions and 428 deletions
@ -0,0 +1,28 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace backend\config; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class AppAsset extends AssetBundle |
||||
{ |
||||
public $basePath = '@wwwroot'; |
||||
public $baseUrl = '@www'; |
||||
public $css = array( |
||||
'css/site.css', |
||||
); |
||||
public $js = array( |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
'yii\bootstrap\ResponsiveAsset', |
||||
); |
||||
} |
@ -1,18 +0,0 @@
|
||||
<?php |
||||
|
||||
return array( |
||||
'app' => array( |
||||
'basePath' => '@wwwroot', |
||||
'baseUrl' => '@www', |
||||
'css' => array( |
||||
'css/site.css', |
||||
), |
||||
'js' => array( |
||||
|
||||
), |
||||
'depends' => array( |
||||
'yii', |
||||
'yii/bootstrap/responsive', |
||||
), |
||||
), |
||||
); |
@ -0,0 +1,28 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace frontend\config; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class AppAsset extends AssetBundle |
||||
{ |
||||
public $basePath = '@wwwroot'; |
||||
public $baseUrl = '@www'; |
||||
public $css = array( |
||||
'css/site.css', |
||||
); |
||||
public $js = array( |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
'yii\bootstrap\ResponsiveAsset', |
||||
); |
||||
} |
@ -1,18 +0,0 @@
|
||||
<?php |
||||
|
||||
return array( |
||||
'app' => array( |
||||
'basePath' => '@wwwroot', |
||||
'baseUrl' => '@www', |
||||
'css' => array( |
||||
'css/site.css', |
||||
), |
||||
'js' => array( |
||||
|
||||
), |
||||
'depends' => array( |
||||
'yii', |
||||
'yii/bootstrap/responsive', |
||||
), |
||||
), |
||||
); |
@ -0,0 +1,29 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace app\config; |
||||
|
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class AppAsset extends AssetBundle |
||||
{ |
||||
public $basePath = '@wwwroot'; |
||||
public $baseUrl = '@www'; |
||||
public $css = array( |
||||
'css/site.css', |
||||
); |
||||
public $js = array( |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
'yii\bootstrap\ResponsiveAsset', |
||||
); |
||||
} |
@ -1,18 +0,0 @@
|
||||
<?php |
||||
|
||||
return array( |
||||
'app' => array( |
||||
'basePath' => '@wwwroot', |
||||
'baseUrl' => '@www', |
||||
'css' => array( |
||||
'css/site.css', |
||||
), |
||||
'js' => array( |
||||
|
||||
), |
||||
'depends' => array( |
||||
'yii', |
||||
'yii/bootstrap/responsive', |
||||
), |
||||
), |
||||
); |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\jui; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class CoreAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/jui/assets'; |
||||
public $js = array( |
||||
'jquery.ui.core.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\jui; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class WidgetAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/jui/assets'; |
||||
public $js = array( |
||||
'jquery.ui.widget.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -1,61 +1,11 @@
|
||||
<?php |
||||
|
||||
return array( |
||||
'yii' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
'yii.js', |
||||
), |
||||
'depends' => array('yii/jquery'), |
||||
), |
||||
'yii/jquery' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
YII_DEBUG ? 'jquery.js' : 'jquery.min.js', |
||||
), |
||||
), |
||||
'yii/validation' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
'yii.validation.js', |
||||
), |
||||
'depends' => array('yii'), |
||||
), |
||||
'yii/form' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
'yii.activeForm.js', |
||||
), |
||||
'depends' => array('yii'), |
||||
), |
||||
'yii/captcha' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
'yii.captcha.js', |
||||
), |
||||
'depends' => array('yii'), |
||||
), |
||||
'yii/punycode' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
YII_DEBUG ? 'punycode/punycode.js' : 'punycode/punycode.min.js', |
||||
), |
||||
), |
||||
'yii/maskedinput' => array( |
||||
'sourcePath' => __DIR__ . '/assets', |
||||
'js' => array( |
||||
'jquery.maskedinput.js', |
||||
), |
||||
'depends' => array('yii/jquery'), |
||||
), |
||||
'yii/debug' => array( |
||||
'sourcePath' => __DIR__ . '/debug/assets', |
||||
'css' => array( |
||||
'main.css', |
||||
), |
||||
'depends' => array( |
||||
'yii', |
||||
'yii/bootstrap/responsive', |
||||
), |
||||
), |
||||
yii\web\YiiAsset::className(), |
||||
yii\web\JqueryAsset::className(), |
||||
yii\validators\PunycodeAsset::className(), |
||||
yii\validators\ValidationAsset::className(), |
||||
yii\widgets\ActiveFormAsset::className(), |
||||
yii\widgets\CaptchaAsset::className(), |
||||
yii\widgets\MaskedInputAsset::className(), |
||||
); |
||||
|
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class AffixAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-affix.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class AlertAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-alert.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,21 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class BootstrapAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $css = array( |
||||
'css/bootstrap.css', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class ButtonAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-button.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class CarouselAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-carousel.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class CollapseAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-collapse.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class DropdownAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-dropdown.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class ModalAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-modal.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class PopoverAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-popover.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TooltipAsset', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class ResponsiveAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $css = array( |
||||
'css/bootstrap-responsive.css', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\BootstrapAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class ScrollspyAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-scrollspy.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class TabAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-tab.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class TooltipAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-tooltip.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,25 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class TransitionAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-transition.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,26 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class TypeaheadAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $js = array( |
||||
'js/bootstrap-typeahead.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\TransitionAsset', |
||||
'yii\bootstrap\BootstrapAsset', |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,25 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\debug; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class DebugAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/debug/assets'; |
||||
public $css = array( |
||||
'main.css', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
'yii\bootstrap\ResponsiveAsset', |
||||
); |
||||
} |
@ -0,0 +1,21 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\validators; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class PunycodeAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'punycode/punycode.js', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\validators; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class ValidationAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'yii.validation.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
); |
||||
} |
@ -0,0 +1,20 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\web; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class JqueryAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'jquery.js', |
||||
); |
||||
} |
@ -0,0 +1,23 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\web; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class YiiAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'yii.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\JqueryAsset', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\widgets; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class ActiveFormAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'yii.activeForm.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\widgets; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class CaptchaAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'yii.captcha.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
); |
||||
} |
@ -0,0 +1,24 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\widgets; |
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* @author Qiang Xue <qiang.xue@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class MaskedInputAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/assets'; |
||||
public $js = array( |
||||
'jquery.maskedinput.js', |
||||
); |
||||
public $depends = array( |
||||
'yii\web\YiiAsset', |
||||
); |
||||
} |
Loading…
Reference in new issue