src/views/layouts/basicauth.php
<?php
use yii\helpers\Html;
use luya\basicauth\BasicAuthAsset;
/* @var $this yii\web\View */
/* @var $content string */
BasicAuthAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->composition->langShortCode; ?>">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?= Html::encode($this->title) ?></title>
<?php $this->head() ?>
</head>
<body class="nojs">
<?php $this->beginBody() ?>
<div class="container">
<?= $content ?>
</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>