PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
vendor
/
jeroennoten
/
laravel-adminlte
/
src
/
Components
/
Widget
<?php namespace JeroenNoten\LaravelAdminLte\Components\Widget; use Illuminate\View\Component; class SmallBox extends Component { /** * The title/header for the box. * * @var string */ public $title; /** * The text/description for the box. * * @var string */ public $text; /** * 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; /** * An url for the box. When enabled, a link-styled footer section will be * visible pointing to that url. * * @var string */ public $url; /** * A text/label associated with the footer url. * * @var string */ public $urlText; /** * Indicates if the box is loading. When enabled, an overlay with a loading * icon will show over the box. * * @var mixed */ public $loading; /** * Create a new component instance. * * @return void */ public function __construct( $title = null, $text = null, $icon = null, $theme = null, $url = null, $urlText = null, $loading = null ) { $this->title = $title; $this->text = $text; $this->icon = $icon; $this->theme = $theme; $this->url = $url; $this->urlText = $urlText; $this->loading = $loading; } /** * Make the box class. * * @return string */ public function makeBoxClass() { $classes = ['small-box']; if (isset($this->theme)) { $classes[] = "bg-{$this->theme}"; } return implode(' ', $classes); } /** * Make the loading overlay class. * * @return string */ public function makeOverlayClass() { $classes = ['overlay']; if (! isset($this->loading)) { $classes[] = 'd-none'; } return implode(' ', $classes); } /** * Get the view / contents that represent the component. * * @return \Illuminate\View\View|string */ public function render() { return view('adminlte::components.widget.small-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]