Blame view

frontend/views/layouts/main.php 6.13 KB
70f4f18b   Administrator   first_commit
1
2
3
4
5
6
7
8
9
10
11
  <?php
  
  /* @var $this \yii\web\View */
  /* @var $content string */
  
  use yii\helpers\Html;
  use yii\bootstrap\Nav;
  use yii\bootstrap\NavBar;
  use yii\widgets\Breadcrumbs;
  use frontend\assets\AppAsset;
  use common\widgets\Alert;
91ae643c   Administrator   upload project
12
13
  use \yii\widgets\Menu;
  use \yii\helpers\Url;
18b850c7   Administrator   Importers CRUD
14
  
70f4f18b   Administrator   first_commit
15
16
17
18
19
  ?>
  <?php $this->beginPage() ?>
  <!DOCTYPE html>
  <html lang="<?= Yii::$app->language ?>">
  <head>
18b850c7   Administrator   Importers CRUD
20
  
70f4f18b   Administrator   first_commit
21
      <meta charset="<?= Yii::$app->charset ?>">
18b850c7   Administrator   Importers CRUD
22
23
      <link href="http://fonts.googleapis.com/css?family=Ubuntu:400,300,500,700" rel="stylesheet" type="text/css">
  
70f4f18b   Administrator   first_commit
24
25
26
27
28
29
      <?= Html::csrfMetaTags() ?>
      <title><?= Html::encode($this->title) ?></title>
      <?php $this->head() ?>
  </head>
  <body>
  <?php $this->beginBody() ?>
91ae643c   Administrator   upload project
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
  <div class="yellow_block">
      <div class="upper_menu">
          <?php
          echo Menu::widget([
              'items' => [
                  ['label' => 'О компании', 'url'=>Url::toRoute('/site/about')],
                  ['label' => 'Каталоги', 'url'=>'/page/FAQ'],
                  ['label' => 'Оптовикам','url'=>'/events/index'],
                  ['label' => 'Поставщикам','url'=>'/articles/index'],
                  ['label' => 'Оплата и доставка', 'url'=>Url::toRoute('/site/contact')],
                  ['label' => 'Контакты', 'url'=>Url::toRoute('/site/contact')],
              ],
          ]);
          ?>
          <div class="squere">
              <img src="/images/icon1.png">
              <a href="" class="our_project" id="go_project">Наши проекты</a>
              <img src="/images/icon2.png" class="arrow_down" style="transform: rotate(0deg);">
              <div id="modal_form_project">
                  <span id="modal_close"></span>
                  <div class="modal_form_project_first">
                      <img src="/images/logo-lr-small.png">
                      <a href="">lr.italauto.com.ua</a>
                      <h4>Запчасти на Land Rover<br> и Range Rover</h4>
                      <ul style="margin-top: -13px;">
                          <li>Оригинальные запчасти</li>
                          <li>Сертифицированый продавец</li>
                          <li>Более 300 000 товаров</li>
                      </ul>
                  </div>
  
                  <div class="modal_form_project_second">
                      <img src="/images/logo-fiat-small.png">
                      <a href="">lr.italauto.com.ua</a>
                      <h4 style="margin-right: 116px!important;
      margin-top: -75px;">Запчасти на Fiat</h4>
                      <ul style="margin-top: -47px;">
                          <li>Оригинальные запчасти</li>
                          <li>Сертифицированый продавец</li>
                          <li>Более 300 000 товаров</li>
                      </ul>
                  </div>
  
                  <div class="modal_form_project_third">
                      <img src="/images/logo-mersedes-small.png">
                      <a href="">lr.italauto.com.ua</a>
                      <h4 style="
      margin-right: 126px;
      margin-top: -83px;
      ">Запчасти на<br> Mercedes Benz</h4>
                      <ul style="
      margin-top: -37px;
      ">
                          <li>Оригинальные запчасти</li>
                          <li>Сертифицированый продавец</li>
                          <li>Более 300 000 товаров</li>
                      </ul>
                  </div>
  
              </div>
          </div>
      </div>
  </div>
  
  <div class="contacts">
      <img src="/images/logo.png">
      <!-- Split button -->
  
      <!-- <select class='dropdown_contacts'>
          <option value="mts" data-image="/images/mts.png"></option>
          <option value="life"></option>
          <option value="kyivstar"></option>
      </select> -->
      <p class="number"><span class="number_space">050 </span>-0400-192</p>
      <div class="phone_select">
          <img src="/images/mts.png" class="mts">
      </div>
      <div class="phone_control"></div>
      <div class="phone_placeholder">
          <img src="/images/mts.png" class="mts">
          <img src="/images/life_contacts.png" class="life">
          <img src="/images/kyiv_contacts.png" class="kyiv">
  
      </div>
  
      <input type="telephone" placeholder="(0XX) XXX-XX-XX" id='get_telephone'>
      <button class="orange"  class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal" id='get_user_number'>Обратный звонок</button>
      <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
          <div class="modal-dialog" role="document">
              <div class="modal-content" >
                  <div class="modal-header">
                      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><img src="/images/close_form.png"><span></button>
                  </div>
                  <div class="modal-body">
                      <div id="modal_form_call" >
  
                          <form method="get" class="cmxform" action="" id="call_form">
                              <fieldset>
                                  <h3>Обратный звонок</h3>
  
  
  
                                  <input name="name" id="name" placeholder="Имя" minlength="2" type="text" required=""><span class='star'>*</span>
                                  <input type="phone" name="telephone" id="telephone_registration" placeholder="Телефон" minlength="7" required=""><span class='star1'>*</span>
                                  <button class="purple" type="submit" value="Submit">Запросить</button>
  
                              </fieldset>
                          </form>
  
  
  
                      </div>
                  </div>
  
              </div>
          </div>
      </div>
      <div class="user">
          <img src="/images/user.png">
          <p>Войти</p>
          <a href="" class="own_page" id="go">Личный кабинет</a>
      </div>
  
      <div class="box">
          <img src="/images/korzina.png">
          <p>Корзина</p>
          <a href="" class="own_page">7 товаров</a>
      </div>
  
70f4f18b   Administrator   first_commit
159
  
91ae643c   Administrator   upload project
160
  </div>
18b850c7   Administrator   Importers CRUD
161
  <?= $content ?>
70f4f18b   Administrator   first_commit
162
163
164
165
166
  
  <?php $this->endBody() ?>
  </body>
  </html>
  <?php $this->endPage() ?>