public function render() { $this->content([count($this->title) ? (new Div())->addClass('portlet-title')->content([(new Div())->addclass('caption')->content($this->title), (new Div())->addclass('tools')->content($this->tools), (new Div())->addclass('actions')->content($this->actions), $this->tab ? $this->tab->options() : NULL]) : NULL, $this->_body(), $this->_footer()]); return parent::render(); }
public function render() { $this->content([(new Anchor())->addClass(['btn', 'btn-' . $this->color, 'btn-' . $this->size])->stay()->data(['toggle' => 'dropdown'])->content([$this->icon, $this->caption . ' ', new Faicon('angle-down')]), (new Ul())->addClass(['dropdown-menu', 'pull-' . $this->side])->content($this->options)]); return parent::render(); }
public function render() { $this->content([(new Div())->addClass('modal-dialog')->content((new Div())->addClass('modal-content')->content([$this->_header(), $this->_body(), $this->_footer()]))]); return parent::render(); }