Blame view

backend/views/site/error.php 595 Bytes
1755c393   Yarik   Basic template in...
1
  <?php
543b9b1c   Yarik   Composer ready
2
3
4
5
6
7
8
9
10
11
      use yii\helpers\Html;
      
      /**
       * @var $this      yii\web\View
       * @var $name      string
       * @var $message   string
       * @var $exception Exception
       */
      
      $this->title = $name;
1755c393   Yarik   Basic template in...
12
13
  ?>
  <div class="site-error">
543b9b1c   Yarik   Composer ready
14
      
1755c393   Yarik   Basic template in...
15
      <h1><?= Html::encode($this->title) ?></h1>
543b9b1c   Yarik   Composer ready
16
      
1755c393   Yarik   Basic template in...
17
18
19
      <div class="alert alert-danger">
          <?= nl2br(Html::encode($message)) ?>
      </div>
543b9b1c   Yarik   Composer ready
20
      
1755c393   Yarik   Basic template in...
21
22
23
24
25
26
27
28
      <p>
          The above error occurred while the Web server was processing your request.
      </p>
      <p>
          Please contact us if you think this is a server error. Thank you.
      </p>
  
  </div>