Blame view

frontend/views/site/error.php 2.95 KB
4253cbec   root   first commit
1
2
  <?php
  
5181a91a   Administrator   big commti
3
  use frontend\widgets\Seo;
4253cbec   root   first commit
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 = 'Ошибка '.$code;
5181a91a   Administrator   big commti
12
13
14
  
  $this->params[ 'seo' ][ Seo::TITLE] = $this->title = 'Ошибка '.$code;
  
4253cbec   root   first commit
15
16
17
18
19
20
21
  ?>
  
  <style>
      .img-404 {
          width: 100%;
          height: 127px;
          text-align: center;
bc07fb47   Administrator   big commti
22
23
24
          font-size: 165px;
          color: #0f6fc7;
          font-weight: bold;
4253cbec   root   first commit
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
          margin-top: 80px;
      }
  
      .img-404 img {
          width: 289px;
          height: 127px;
      }
      .text-404-wr {
          margin-top: 43px;
      }
      .text-404-wr, .text-404-wr2 {
          width: 100%;
      }
      .text-404-wr p {
          font-size: 16px;
          width: 576px;
          margin: 0 auto;
          line-height: 20px;
          color: #222222;
          box-sizing: border-box;
          padding-left: 9px;
      }
      .text-404-wr2 {
          margin-top: 20px;
      }
      .text-404-wr2 p {
          font-size: 13px;
          width: 576px;
          margin: 0 auto;
          line-height: 16px;
          color: #7d7d7d;
          box-sizing: border-box;
          padding-left: 9px;
      }
      .button-home-404-wr {
          width: 100%;
          margin: 39px 0 174px 0;
      }
      .button-home-404 {
          width: 576px;
          margin: 0 auto;
      }
      .button-home-404 a {
          float: right;
          margin-right: 24px;
          width: 180px;
          height: 38px;
37415bee   Administrator   big commti
72
73
          background: #0f6fc7;
          border-bottom: 3px solid #075fb0;
4253cbec   root   first commit
74
75
76
77
78
79
80
81
82
83
84
          box-sizing: border-box;
          text-align: center;
          text-transform: uppercase;
          text-decoration: none;
          font-size: 12px;
          line-height: 41px;
          display: block;
          color: #fff !important;
          border-radius: 4px;
      }
      .button-home-404 a:hover {
37415bee   Administrator   big commti
85
          border-bottom: 3px solid #0f6fc7;
4253cbec   root   first commit
86
87
      }
      .button-home-404 a:active {
37415bee   Administrator   big commti
88
89
          background: #0f6fc7;
          border-bottom: 3px solid #075fb0;
4253cbec   root   first commit
90
91
92
93
      }
  </style>
  
  <div class="site-error">
bc07fb47   Administrator   big commti
94
      <div class="img-404">404!</div>
4253cbec   root   first commit
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
      <div class="text-404-wr">
          <p>Добро пожаловать на страницу 404!<br />
              Вы находитесь здесь, потому что ввели адрес страницы,<br />
              которая уже не существует или была перемещена по другому адресу</p>
      </div>
  
      <div class="text-404-wr2">
          <p>… Возможно, запрашиваемая Вами страница была перенесена или удалена.<br />
              Также возможно, Вы допустили небольшую опечатку при вводе адреса – такое случается даже с нами, поэтому еще раз внимательно проверьте</p>
      </div>
  
      <div class="button-home-404-wr">
          <div class="button-home-404">
              <a href="/">перейти на главную</a>
          </div>
      </div>
  
  </div>