luyadev/luya-module-basicauth

View on GitHub
src/views/layouts/basicauth.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?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() ?>