Commit d500d86732bbd3761ab2012e0851a35fc707360b
1 parent
51545f02
мозаика
Showing
2 changed files
with
25 additions
and
16 deletions
Show diff stats
frontend/views/site/index.php
| ... | ... | @@ -69,24 +69,31 @@ |
| 69 | 69 | <div class="row"> |
| 70 | 70 | <?php |
| 71 | 71 | $options = $purposes->options; |
| 72 | - if(!empty( $options[ 0 ] )) { | |
| 73 | - /** | |
| 74 | - * @var TaxOption $option | |
| 75 | - */ | |
| 76 | - $option = $options[ 0 ]; | |
| 77 | - ?> | |
| 78 | - <div class="col-xs-6 col-sm-3 col-md-3 moz-1"> | |
| 79 | - <a href="<?= Url::to([ | |
| 80 | - 'filter/purpose', | |
| 81 | - 'id' => $option->tax_option_id, | |
| 82 | - ]); ?>"><p><?= $option->lang->value; ?></p> | |
| 83 | - <div style="background: url('/images/img/img-new-1.png') 50% 0 no-repeat;"></div> | |
| 84 | - </a> | |
| 72 | + ?> | |
| 73 | + | |
| 74 | + <div class="col-xs-3 col-sm-3 col-md-3"> | |
| 75 | + <div class="row"> | |
| 76 | + <?php | |
| 77 | + if(!empty( $options[ 0 ] )) { | |
| 78 | + /** | |
| 79 | + * @var TaxOption $option | |
| 80 | + */ | |
| 81 | + $option = $options[ 0 ]; | |
| 82 | + ?> | |
| 83 | + <div class="col-xs-12 col-sm-12 col-md-12 moz-1"> | |
| 84 | + <a href="<?= Url::to([ | |
| 85 | + 'filter/purpose', | |
| 86 | + 'id' => $option->tax_option_id, | |
| 87 | + ]); ?>"><p><?= $option->lang->value; ?></p> | |
| 88 | + <div style="background: url('/images/img/img-new-1.png') 50% 0 no-repeat;"></div> | |
| 89 | + </a> | |
| 90 | + </div> | |
| 91 | + <?php | |
| 92 | + } | |
| 93 | + ?> | |
| 85 | 94 | </div> |
| 86 | - <?php | |
| 87 | - } | |
| 95 | + </div> | |
| 88 | 96 | |
| 89 | - ?> | |
| 90 | 97 | <div class="col-xs-3 col-sm-3 col-md-3"> |
| 91 | 98 | <div class="row"> |
| 92 | 99 | <?php | ... | ... |
frontend/web/css/style.min.css