main-login.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /* @var $this \yii\web\View */
  3. /* @var $content string */
  4. \hail812\adminlte3\assets\AdminLteAsset::register($this);
  5. $this->registerCssFile('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700');
  6. $this->registerCssFile('https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css');
  7. \hail812\adminlte3\assets\PluginAsset::register($this)->add(['fontawesome', 'icheck-bootstrap']);
  8. ?>
  9. <?php $this->beginPage() ?>
  10. <!DOCTYPE html>
  11. <html>
  12. <head>
  13. <meta charset="<?= Yii::$app->charset ?>">
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  15. <title>AdminLTE 3 | Log in</title>
  16. <!-- Tell the browser to be responsive to screen width -->
  17. <meta name="viewport" content="width=device-width, initial-scale=1">
  18. <?php $this->registerCsrfMetaTags() ?>
  19. <?php $this->head() ?>
  20. </head>
  21. <body class="hold-transition login-page">
  22. <?php $this->beginBody() ?>
  23. <div class="login-box">
  24. <div class="login-logo">
  25. <a href="<?=Yii::$app->homeUrl?>"><b>Admin</b>LTE</a>
  26. </div>
  27. <!-- /.login-logo -->
  28. <?= $content ?>
  29. </div>
  30. <!-- /.login-box -->
  31. <?php $this->endBody() ?>
  32. </body>
  33. </html>
  34. <?php $this->endPage() ?>