params['body-class'] = array_key_exists('body-class', $this->params) ?
$this->params['body-class']
: null;
?>
beginPage() ?>
= Html::csrfMetaTags() ?>
= Html::encode($this->title) ?>
head() ?>
= Html::beginTag('body', [
'class' => implode(' ', [
ArrayHelper::getValue($this->params, 'body-class'),
Yii::$app->keyStorage->get('backend.layout-fixed') ? 'layout-navbar-fixed' : null,
Yii::$app->keyStorage->get('backend.dark-mode') ? 'dark-mode' : null,
Yii::$app->keyStorage->get('backend.small-body-text') ? 'text-sm' : null,
Yii::$app->keyStorage->get('backend.layout-collapsed-sidebar') ? 'sidebar-collapse' : null,
])
]) ?>
beginBody() ?>
= $content ?>
endBody() ?>
= Html::endTag('body') ?>
endPage();