Commit 9a153572004e71f34cd5f716db9b3bda3067162a

Authored by OlenaKl
1 parent b10d17b8

V

Showing 2 changed files with 19 additions and 5 deletions   Show diff stats
frontend/views/goods/index.php
@@ -96,9 +96,9 @@ $this->params['breadcrumbs'][] = $this->title; @@ -96,9 +96,9 @@ $this->params['breadcrumbs'][] = $this->title;
96 <td class="medium_width row_name">Номер детали</td> 96 <td class="medium_width row_name">Номер детали</td>
97 <td class="large_width row_name">Описание</td> 97 <td class="large_width row_name">Описание</td>
98 <td class="row_select1 row_name"></td> 98 <td class="row_select1 row_name"></td>
99 - <td class="right_large row_name link_sort"><?=$sort->link('box')?></td>  
100 - <td class="right_small row_name link_sort"><?=$sort->link('delivery')?></td>  
101 - <td class="right_medium row_name link_sort"><?=$sort->link('price')?></td> 99 + <td class="right_large row_name link_sort arrow_up"><?=$sort->link('box')?></td>
  100 + <td class="right_small row_name link_sort arrow_up"><?=$sort->link('delivery')?></td>
  101 + <td class="right_medium row_name link_sort arrow_up"><?=$sort->link('price')?></td>
102 102
103 </tr> 103 </tr>
104 <?php 104 <?php
@@ -437,6 +437,11 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title; @@ -437,6 +437,11 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
437 $('.tovar_card').toggleClass('tovar_card_visible'); 437 $('.tovar_card').toggleClass('tovar_card_visible');
438 $('.table').toggleClass('table_height'); 438 $('.table').toggleClass('table_height');
439 }); 439 });
  440 + $('.link_sort').click(function(){
  441 + event.preventDefault();
  442 + $(this).toggleClass('arrow_downA');
  443 +
  444 + })
440 </script> 445 </script>
441 446
442 <?php 447 <?php
frontend/web/css/main.css
@@ -563,7 +563,16 @@ div.required:after { content: &quot; *&quot;; @@ -563,7 +563,16 @@ div.required:after { content: &quot; *&quot;;
563 color: #333; 563 color: #333;
564 text-decoration: none; 564 text-decoration: none;
565 display: inline-block; 565 display: inline-block;
566 - margin-left: -13px; 566 + margin-left: -9px;
567 width: 100%; 567 width: 100%;
568 - background: url("/images/icon2.png") no-repeat 100%; 568 + position: relative;
  569 +}
  570 +
  571 +.arrow_up{
  572 + background: url("/images/icon2.png") no-repeat 93%;
  573 +
  574 +}
  575 +
  576 +.arrow_downA{
  577 + background: url("/images/icon2r.png") no-repeat 93%!important;
569 } 578 }
570 \ No newline at end of file 579 \ No newline at end of file