move kartik-v/yii2-widget-timepicker to backend components
This commit is contained in:
33
backend/components/timepicker/src/TimePickerAsset.php
Normal file
33
backend/components/timepicker/src/TimePickerAsset.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021
|
||||
* @package yii2-widgets
|
||||
* @subpackage timepicker
|
||||
* @version 1.0.5
|
||||
*/
|
||||
|
||||
//namespace kartik\time;
|
||||
namespace backend\components\timepicker\src;
|
||||
|
||||
use kartik\base\AssetBundle;
|
||||
|
||||
/**
|
||||
* Asset bundle for TimePicker Widget
|
||||
*
|
||||
* @author Kartik Visweswaran <kartikv2@gmail.com>
|
||||
* @since 1.0
|
||||
*/
|
||||
class TimePickerAsset extends AssetBundle
|
||||
{
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setSourcePath(__DIR__ . '/assets');
|
||||
$this->setupAssets('css', ['css/bootstrap-timepicker']);
|
||||
$this->setupAssets('js', ['js/bootstrap-timepicker']);
|
||||
parent::init();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user