Blame view

frontend/views/site/error.php 2.84 KB
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  
  use yii\helpers\Html;
  
  /* @var $this yii\web\View */
  /* @var $name string */
  /* @var $message string */
  /* @var $exception Exception */
  
  $this->title = 'Ошибка '.$code;
  ?>
  
  <style>
      .img-404 {
          width: 100%;
          height: 127px;
          text-align: center;
bc07fb47   Administrator   big commti
18
19
20
          font-size: 165px;
          color: #0f6fc7;
          font-weight: bold;
4253cbec   root   first commit
21
22
23
24
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
          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
68
69
          background: #0f6fc7;
          border-bottom: 3px solid #075fb0;
4253cbec   root   first commit
70
71
72
73
74
75
76
77
78
79
80
          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
81
          border-bottom: 3px solid #0f6fc7;
4253cbec   root   first commit
82
83
      }
      .button-home-404 a:active {
37415bee   Administrator   big commti
84
85
          background: #0f6fc7;
          border-bottom: 3px solid #075fb0;
4253cbec   root   first commit
86
87
88
89
      }
  </style>
  
  <div class="site-error">
bc07fb47   Administrator   big commti
90
      <div class="img-404">404!</div>
4253cbec   root   first commit
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
      <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>