EditableDatePickerAsset.php 832 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2013 2amigOS! Consulting Group LLC
  4. * @link http://2amigos.us
  5. * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  6. */
  7. namespace dosamigos\editable;
  8. use yii\web\AssetBundle;
  9. /**
  10. * EditableDatePickerAsset
  11. *
  12. * @author Antonio Ramirez <amigo.cobos@gmail.com>
  13. * @link http://www.ramirezcobos.com/
  14. * @link http://www.2amigos.us/
  15. * @package dosamigos\editable
  16. */
  17. class EditableDatePickerAsset extends AssetBundle
  18. {
  19. public $sourcePath = '@vendor/2amigos/yii2-editable-widget/assets/datepicker';
  20. public $css = [
  21. 'vendor/css/datepicker3.css'
  22. ];
  23. public $js = [
  24. 'vendor/js/bootstrap-datepicker.js',
  25. 'bootstrap-editable-datepicker.js'
  26. ];
  27. public $depends = [
  28. 'dosamigos\editable\EditableBootstrapAsset'
  29. ];
  30. }