Commit 31f9e6ed614e9af9e1843e655f65363a70ec0ac5
1 parent
442daa2f
error-page1
Showing
2 changed files
with
35 additions
and
17 deletions
Show diff stats
frontend/views/site/error.php
... | ... | @@ -10,26 +10,33 @@ use yii\helpers\Html; |
10 | 10 | $this->title = $name; |
11 | 11 | ?> |
12 | 12 | |
13 | +<style> | |
14 | + #error-page .title{ | |
15 | + font-size: 28px; | |
16 | + font-weight: bold; | |
17 | + line-height: 36px; | |
18 | + color: #333333; | |
19 | + } | |
20 | + #error-page .subtitle{ | |
21 | + color: #333333; | |
22 | + font-size: 24px; | |
23 | + margin-top: 3px; | |
24 | + } | |
25 | +</style> | |
26 | + | |
13 | 27 | <div id="content"> |
14 | 28 | <div class="container"> |
15 | 29 | |
16 | - <div class="col-sm-6 col-sm-offset-3" id="error-page"> | |
17 | - | |
18 | - <div class="box"> | |
19 | - | |
20 | - <p class="text-center"> | |
21 | - <a href="index.html"> | |
22 | - <img src="img/logo.png" alt="Obaju template"> | |
23 | - </a> | |
24 | - </p> | |
25 | - | |
26 | - <h3>We are sorry - this page is not here anymore</h3> | |
27 | - <h4 class="text-muted">Error 404 - Page not found</h4> | |
28 | - | |
29 | - <p class="buttons"><a href="index.html" class="btn btn-template-main"><i class="fa fa-home"></i> Go to Homepage</a> | |
30 | - </p> | |
31 | - </div> | |
32 | - | |
30 | + <div class="col-sm-12" id="error-page"> | |
31 | + | |
32 | + <div class="col-sm-6 error-logo"></div> | |
33 | + <div class="col-sm-6"> | |
34 | + <div class="text-left title">К сожалению, мы не можем найти такую страницу</div> | |
35 | + <div class="text-left subtitle">Попробуйте еще раз или:</div> | |
36 | + | |
37 | + <p class="buttons text-right"><a href="index.html" class="btn btn-template-main">Перейти на главную</a></p> | |
38 | + </div> | |
39 | + | |
33 | 40 | |
34 | 41 | </div> |
35 | 42 | <!-- /.col-sm-6 --> | ... | ... |
frontend/web/css/custom.css
... | ... | @@ -175,4 +175,15 @@ span.panel-title{ |
175 | 175 | } |
176 | 176 | .pages#get-it { |
177 | 177 | padding: 20px 0 20px; |
178 | +} | |
179 | +#error-page .title{ | |
180 | + font-size: 28px; | |
181 | + font-weight: bold; | |
182 | + line-height: 36px; | |
183 | + color: #333333; | |
184 | +} | |
185 | +#error-page .subtitle{ | |
186 | + color: #333333; | |
187 | + font-size: 24px; | |
188 | + margin-top: 3px; | |
178 | 189 | } |
179 | 190 | \ No newline at end of file | ... | ... |