-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hail
committed
Apr 25, 2020
1 parent
510d2c7
commit cb7e8bd
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
/* @var $this yii\web\View */ | ||
/* @var $name string */ | ||
/* @var $message string */ | ||
/* @var $exception Exception */ | ||
|
||
use yii\helpers\Html; | ||
|
||
$this->title = $name; | ||
$this->params['breadcrumbs'] = [['label' => $this->title]]; | ||
?> | ||
<div class="error-page"> | ||
<div class="error-content" style="margin-left: auto;"> | ||
<h3><i class="fas fa-exclamation-triangle text-danger"></i> <?= Html::encode($name) ?></h3> | ||
|
||
<p> | ||
<?= nl2br(Html::encode($message)) ?> | ||
</p> | ||
|
||
<p> | ||
The above error occurred while the Web server was processing your request. | ||
Please contact us if you think this is a server error. Thank you. | ||
Meanwhile, you may <?= Html::a('return to dashboard', Yii::$app->homeUrl); ?> | ||
or try using the search form. | ||
</p> | ||
|
||
<form class="search-form" style="margin-right: 190px;"> | ||
<div class="input-group"> | ||
<input type="text" name="search" class="form-control" placeholder="Search"> | ||
|
||
<div class="input-group-append"> | ||
<button type="submit" name="submit" class="btn btn-danger"><i class="fas fa-search"></i> | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|