Commit ca9345c645a003691448718966979ca7821dd05a
Merge remote-tracking branch 'origin/master'
Showing
3 changed files
with
26 additions
and
18 deletions
Show diff stats
frontend/views/site/error.php
... | ... | @@ -7,30 +7,27 @@ |
7 | 7 | |
8 | 8 | use yii\helpers\Html; |
9 | 9 | |
10 | -$this->title = $name; | |
10 | +//$this->title = $name; | |
11 | 11 | ?> |
12 | +<style> | |
13 | + #heading-breadcrumbs{display:none!important;} | |
14 | +</style> | |
12 | 15 | |
13 | 16 | <div id="content"> |
14 | - <div class="container"> | |
17 | + <div class="container" style="padding-top: 15px;"> | |
15 | 18 | |
16 | 19 | <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><?= \Yii::t('app', 'error_sorry') ?></h3> | |
27 | - <h4 class="text-muted"><?= \Yii::t('app', 'error_404') ?></h4> | |
28 | - | |
29 | - <p class="buttons"><a href="index.html" class="btn btn-template-main"><i class="fa fa-home"></i> <?= \Yii::t('app', 'gohomepage') ?></a> | |
30 | - </p> | |
20 | + <div class="row"> | |
21 | + <div class="col-md-12 col-xs-12"> | |
22 | + <p><img class="img-responsive" src="/img/errorimg.png"></p> | |
23 | + </div> | |
24 | + <div class="col-md-12 col-xs-12" style="text-align:center;"> | |
25 | + <p class="error-text">К сожалению, <br />этой страницы больше нет</p> | |
26 | + </div> | |
27 | + <div class="col-md-12 col-xs-12" style="text-align:center;"> | |
28 | + <a href="/" class="btn button1 noicon">Вернуться <span>на главную</span></a> | |
29 | + </div> | |
31 | 30 | </div> |
32 | - | |
33 | - | |
34 | 31 | </div> |
35 | 32 | <!-- /.col-sm-6 --> |
36 | 33 | </div> | ... | ... |
frontend/web/css/main.css
... | ... | @@ -810,6 +810,17 @@ a.btn.sqre_btn.yellow_calc.modaled.init-button-сalculate:hover > .phone_hint { |
810 | 810 | bottom: 40px!important; |
811 | 811 | opacity: 0.9!important; |
812 | 812 | } |
813 | +.button1.noicon{ | |
814 | + padding-left: 0px; | |
815 | +} | |
816 | +p.error-text{ | |
817 | + font-size: 30px; | |
818 | + color: #333333; | |
819 | + font-weight: bold; | |
820 | + line-height: 35px; | |
821 | + margin-top: 30px; | |
822 | + margin-bottom: 50px; | |
823 | +} | |
813 | 824 | |
814 | 825 | @media(min-width:1201px){ |
815 | 826 | .links-ses-for-wr .container .row p {margin: 7px 20px;} | ... | ... |
85.1 KB