PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
vendor
/
jeroennoten
/
laravel-adminlte
/
src
/
Components
/
Widget
<?php namespace JeroenNoten\LaravelAdminLte\Components\Widget; use Illuminate\View\Component; class InfoBox extends Component { /** * The title/header for the box. * * @var string */ public $title; /** * A short text description for the box. * * @var string */ public $text; /** * A long description for the box. * * @var string */ public $description; /** * A Font Awesome icon for the box. * * @var string */ public $icon; /** * The box theme (light, dark, primary, secondary, info, success, warning, * danger or any other AdminLTE color like lighblue or teal). * * @var string */ public $theme; /** * The icon theme (light, dark, primary, secondary, info, success, warning, * danger or any other AdminLTE color like lighblue or teal). * * @var string */ public $iconTheme; /** * Enables a progress bar for the box. The value should be an integer * indicating the percentage of the progress bar. * * @var int */ public $progress; /** * The progress bar theme (light, dark, primary, secondary, info, success, * warning, danger or any other AdminLTE color like lighblue or teal). * * @var string */ public $progressTheme; /** * Create a new component instance. * * @return void */ public function __construct( $title = null, $text = null, $icon = null, $description = null, $theme = null, $iconTheme = null, $progress = null, $progressTheme = 'white' ) { $this->title = $title; $this->text = $text; $this->icon = $icon; $this->description = $description; $this->theme = $theme; $this->iconTheme = $iconTheme; $this->progress = $progress; $this->progressTheme = $progressTheme; } /** * Make the box class. * * @return string */ public function makeBoxClass() { $classes = ['info-box']; if (isset($this->theme)) { $classes[] = "bg-{$this->theme}"; } return implode(' ', $classes); } /** * Make the icon container class. * * @return string */ public function makeIconClass() { $classes = ['info-box-icon']; if (isset($this->iconTheme)) { $classes[] = "bg-{$this->iconTheme}"; } return implode(' ', $classes); } /** * Get the view / contents that represent the component. * * @return \Illuminate\View\View|string */ public function render() { return view('adminlte::components.widget.info-box'); } }
[+]
..
[-] ProfileRowItem.php
[edit]
[-] Callout.php
[edit]
[-] ProfileWidget.php
[edit]
[-] Progress.php
[edit]
[-] Alert.php
[edit]
[-] ProfileColItem.php
[edit]
[-] SmallBox.php
[edit]
[-] InfoBox.php
[edit]
[-] Card.php
[edit]
[-] .htaccess.disabled
[edit]