auth.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /* @var $this \yii\web\View */
  3. /* @var $content string */
  4. use app\widgets\Alert;
  5. use yii\helpers\Html;
  6. use yii\bootstrap4\Nav;
  7. use yii\bootstrap4\NavBar;
  8. use yii\widgets\Breadcrumbs;
  9. use app\assets\AppAsset;
  10. AppAsset::register($this);
  11. ?>
  12. <?php $this->beginPage() ?>
  13. <!DOCTYPE html>
  14. <html lang="<?= Yii::$app->language ?>">
  15. <head>
  16. <meta charset="<?= Yii::$app->charset ?>">
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  18. <meta name="viewport" content="width=device-width, initial-scale=1">
  19. <?php $this->registerCsrfMetaTags() ?>
  20. <title><?= Html::encode($this->title) ?></title>
  21. <?php $this->head() ?>
  22. </head>
  23. <body<?= isset($this->params['bodyClasses']) ? ' class="'.implode(' ', $this->params['bodyClasses']).'"' : ''; ?>>
  24. <?php $this->beginBody() ?>
  25. <main>
  26. <?= Alert::widget() ?>
  27. <?= $content ?>
  28. </main>
  29. <footer class="small text-muted text-center">
  30. <p class="pull-left">&copy; <?= Yii::$app->name; ?> <?= date('Y') ?></p>
  31. </footer>
  32. <?php $this->endBody() ?>
  33. </body>
  34. </html>
  35. <?php $this->endPage() ?>