-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/dgvai/laravel-adminlte-co…
…mponents into release
- Loading branch information
Showing
26 changed files
with
3,218 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
|
||
namespace DGvai\BladeAdminLTE\Components; | ||
|
||
use Illuminate\View\Component; | ||
|
||
class InputSlider extends Component | ||
{ | ||
public $id, $name, $label; | ||
public $topclass, $inputclass; | ||
public $value, $disabled, $required; | ||
public $min, $max, $step, $vertical; | ||
public $tick, $ticks, $tickLabels; | ||
public $color; | ||
|
||
public function __construct( | ||
$id, $name = null, | ||
$label = 'Input Label', | ||
$topclass = null, $inputclass = null, | ||
$value = null,$disabled = false, $required = false, | ||
$min = 0, $max = 100, $step = 1, $vertical = false, | ||
$tick = false, $ticks = null, $tickLabels = null, | ||
$color = 'blue' | ||
) | ||
{ | ||
$this->id = $id; | ||
$this->name = $name; | ||
$this->label = $label; | ||
$this->topclass = $topclass; | ||
$this->inputclass = $inputclass; | ||
$this->required = $required; | ||
$this->disabled = $disabled; | ||
$this->value = $value; | ||
$this->min = $min; | ||
$this->max = $max; | ||
$this->step = $step; | ||
$this->vertical = $vertical; | ||
$this->tick = $tick; | ||
$this->ticks = $ticks; | ||
$this->tickLabels = $tickLabels; | ||
$this->color = $color; | ||
} | ||
|
||
public function render() | ||
{ | ||
return view('xdg::input-slider'); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/assets/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.