Esempio n. 1
0
 /**
  * @param Layout $someLayout
  * @return string
  */
 protected function wrapper(Layout $someLayout)
 {
     $t = $someLayout->getTag();
     /** @noinspection PhpMethodParametersCountMismatchInspection */
     /** @noinspection PhpUndefinedMethodInspection */
     return $t->div(a::id('wrapper'), $t->header(a::c1ass('main-header'), $t->a(a::c1ass('logo'), a::href('/dashboard'), $t->span(a::c1ass('logo-mini'), $t->img(a::src(asset('img/logo-39-45.png')), a::style('margin: 0 0 0 7%;')), $t->b('Solvre')), $t->span(a::c1ass('logo-lg'), $t->img(a::src(asset('img/logo-fav-lg.png'))), $t->b('Solvre'))), $this->navbarTop($t)), $this->aside($t), $this->content());
 }
Esempio n. 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;
 }