|
- <?php
-
-
-
- use yii\helpers\Html;
-
- $this->setTitle('Le serveur a renvoyé une erreur', 'Erreur');
- $this->setIcon('alert');
- $this->setMeta('description', 'Une erreur est survenue.') ;
-
- ?>
- <div class="site-error">
- <div class="row">
- <div class="col-lg-6">
- <div class="panel panel-primary panel-padding-large">
- <div class="panel-body">
- <h2>Erreur <?= $exception->statusCode ?></h2>
- <p class="error-message"><?= nl2br(Html::encode($exception->getMessage())) ?></p>
- <p>
- <span class="glyphicon glyphicon-info-sign"></span>
- <?= $this->renderFile('@common/views/error_info.php', [
- 'urlContact' => Yii::$app->urlManager->createUrl('site/contact'),
- 'lineBreak' => false
- ]) ?>
- </p>
- <p><?= Html::a("<i class=\"bi bi-house-door\"></i> Retour à l'accueil", ['site/index'], ['class' => 'btn btn-secondary']) ?></p>
- </div>
- </div>
- </div>
- </div>
- </div>
|