Example #1
0
 protected function layout()
 {
     $layoutObject = new Layout();
     $layoutObject->addBodyAttribute(a::c1ass('skin-blue sidebar-mini wysihtml5-supported'));
     $layoutObject->setContent($this->wrapper($layoutObject));
     $layoutObject->addFooterJs("js/lib/admin/app.min");
     return $this->layout = $layoutObject;
 }
Example #2
0
 private function layout()
 {
     $layout = new Layout();
     $t = $layout->getTag();
     $footerJs = array('lib/plugins/iCheck/icheck.min', 'js/lib/bootstrap-validator/validator.min');
     $layout->addAllFooterJs($footerJs);
     $layout->addBodyAttribute(a::c1ass('login-page'));
     /** @noinspection PhpMethodParametersCountMismatchInspection */
     $layout->setContent($t->div(a::c1ass('login-box'), [$t->div(a::c1ass('login-logo'), $t->img(a::id('profile-img'), a::c1ass('login-box-logo'), a::src(asset('img/solvre128.png')))), $this->renderForm($t)]));
     return $layout;
 }