Blame view

resources/views/layout/admin.blade.php 25.3 KB
232c33a82   Андрей Ларионов   Все формы обратно...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <!DOCTYPE html>
  <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
  <head>
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>{{$title}}</title>
      <link rel="preload" href="{{ asset('fonts/Manrope-ExtraLight.woff2') }}" as="font" type="font/woff2" crossorigin>
      <link rel="preload" href="{{ asset('fonts/Manrope-Light.woff2" as="font') }}" type="font/woff2" crossorigin>
      <link rel="preload" href="{{ asset('fonts/Manrope-Regular.woff2') }}" as="font" type="font/woff2" crossorigin>
      <link rel="preload" href="{{ asset('fonts/Manrope-Medium.woff2') }}" as="font" type="font/woff2" crossorigin>
      <link rel="preload" href="{{ asset('fonts/Manrope-SemiBold.woff2') }}" as="font" type="font/woff2" crossorigin>
      <link rel="preload" href="{{ asset('fonts/Manrope-Bold.woff2') }}" as="font" type="font/woff2" crossorigin>
      <link rel="preload" href="{{ asset('fonts/Manrope-ExtraBold.woff2') }}" as="font" type="font/woff2" crossorigin>
      <link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}">
      <link rel="stylesheet" href="{{ asset('css/style.css') }}">
      <link rel="stylesheet" href="{{ asset('css/style_table.css') }}">
7c115bff1   Андрей Ларионов   Админка - объекты...
18
19
20
21
22
23
24
25
26
27
28
29
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
      <style>
          /* form styles */
          form .row {
              display: block;
              padding: 7px 8px;
              margin-bottom: 7px;
          }
          form .row:hover {
              background: #f1f7fa;
          }
  
          form label {
              display: inline-block;
              font-size: 1.2em;
              font-weight: bold;
              width: 120px;
              padding: 6px 0;
              color: #464646;
              vertical-align: top;
          }
          form .req { color: #ca5354; }
  
          form .note {
              font-size: 1.2em;
              line-height: 1.33em;
              font-weight: normal;
              padding: 2px 7px;
              margin-bottom: 10px;
          }
  
          form input:focus, form textarea:focus { outline: none; }
  
          /* placeholder styles: http://stackoverflow.com/a/2610741/477958 */
          ::-webkit-input-placeholder { color: #aaafbd; font-style: italic; } /* WebKit */
          :-moz-placeholder { color: #aaafbd; font-style: italic; } /* Mozilla Firefox 4 to 18 */
          ::-moz-placeholder { color: #aaafbd; font-style: italic; } /* Mozilla Firefox 19+ */
          :-ms-input-placeholder { color: #aaafbd; font-style: italic; } /* Internet Explorer 10+ */
  
          form .txt {
              display: inline-block;
              padding: 8px 9px;
              padding-right: 30px;
              width: 240px;
              font-family: 'Oxygen', sans-serif;
              font-size: 1.35em;
              font-weight: normal;
              color: #898989;
          }
  
          form .txtarea {
              display: inline-block;
              padding: 8px 9px;
              padding-right: 30px;
              font-family: 'Oxygen', sans-serif;
              font-size: 1.35em;
              font-weight: normal;
              color: #898989;
          }
      </style>
232c33a82   Андрей Ларионов   Все формы обратно...
77
78
79
80
81
82
83
84
85
  </head>
  <body>
  <div class="spinner"></div>
  <div class="wrapper">
      <header class="header js_header">
          <div class="container">
              <div class="header__wrap"><a class="header__logo" href="{{ route('index') }}"><img src="{{ asset('images/logo.svg') }}" alt="Лого"></a>
                  <nav class="header__nav nav">
                      <ul class="nav__list">
7c115bff1   Андрей Ларионов   Админка - объекты...
86
                          <li class="nav__item"><a class="nav__link" href="{{ route('admin.area.index') }}">Объекты</a></li>
3575d19ae   Андрей Ларионов   Админка новости и...
87
88
                          <li class="nav__item"><a class="nav__link" href="{{ route('admin.news.index') }}">Новости</a></li>
                          <li class="nav__item"><a class="nav__link" href="{{ route('admin.company.show', ['company' => 1]) }}">Компания</a></li>
232c33a82   Андрей Ларионов   Все формы обратно...
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
                          <li class="nav__item"><a class="nav__link nav__link-favorites" href="{{ route('favorite') }}">Избранное<span><?=\App\Classes\RusDate::count_item_fav();?></span></a></li>
                      </ul>
                  </nav>
                  <div class="header__buttons"><a class="header__btn-phone" href="#" data-btn="feedback">
                          <svg width="22" height="22">
                              <use xlink:href="{{ asset('images/sprite.svg#header-btn-phone') }}"></use>
                          </svg></a>
                      <button class="header__burger js_header_burger" type="button">Меню
                          <svg width="28" height="18">
                              <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use>
                          </svg>
                      </button>
                  </div>
                  <div class="menu js_menu">
                      <div class="menu__wrap">
                          <button class="menu__close js_menu_close" type="button">Меню
                              <svg width="20" height="20">
                                  <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use>
                              </svg>
                          </button>
                          <div class="menu__inner">
                              <nav class="menu__nav">
                                  <ul class="menu__list">
3575d19ae   Андрей Ларионов   Админка новости и...
112
113
114
                                      <li class="menu__item"><a class="menu__link" href="{{ route('admin.area.index') }}">Объекты</a></li>
                                      <li class="menu__item"><a class="menu__link" href="{{ route('admin.news.index') }}">Новости</a></li>
                                      <li class="menu__item"><a class="menu__link" href="{{ route('admin.company.show', ['company' => 1]) }}">Компания</a></li>
232c33a82   Андрей Ларионов   Все формы обратно...
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
                                      <li class="menu__item"><a class="menu__link" href="{{ route('news') }}">Новости</a></li>
                                      <li class="menu__item"><a class="menu__link" href="{{ route('contact') }}">Контакты</a></li>
                                  </ul>
                              </nav>
                              <div class="menu__contacts"><a class="menu__contact" href="mailto:info@renttorg.ru">E-MAIL<span>info@renttorg.ru</span></a><a class="menu__contact" href="tel:+79290127262">ТЕЛЕФОН<span>+7 (929) 012-72-62</span></a></div>
                              <div class="menu__social social">
                                  <ul class="social__list">
                                      <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg') }}" alt=""></a></li>
                                      <li class="social__item"><a class="social__link" href="#" target="_blank">
                                              <svg width="40" height="40">
                                                  <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use>
                                              </svg></a></li>
                                  </ul>
                              </div>
                          </div>
                      </div>
                  </div>
              </div>
          </div>
      </header>
      <main>
             @if ($message = Session::get('success'))
                  <section>
                   <div class="alert alert-success alert-dismissible mt-0" role="alert">
                      <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть">
                          <span aria-hidden="true">&times;</span>
                      </button>
                      {{ $message }}
                  </div>
                  </section>
              @endif
  
              @if ($errors->any())
                 <section>
                 <div class="alert alert-danger alert-dismissible mt-4" role="alert">
                      <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть">
                          <span aria-hidden="true">&times;</span>
                      </button>
                      <ul class="mb-0">
                          @foreach ($errors->all() as $error)
                              <li>{{ $error }}</li>
                          @endforeach
                      </ul>
                  </div>
                 </section>
              @endif
         <!-- Основной контент -->
         @yield('content')
  
      </main>
  
      <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})">
          <div class="footer__buttons">
              <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button">
                  <svg width="30" height="32">
                      <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use>
                  </svg>
              </button>
              <button class="footer__btn footer__btn-up js_btn_up" type="button">
                  <svg width="19" height="11">
                      <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use>
                  </svg>
              </button>
          </div>
  
          <!-- Сам футер мееню -->
          <div class="footer-middle">
              <div class="container">
                  <div class="footer-middle__wrap">
                      <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="{{ asset('images/logo-footer.svg')}}" alt="Лого"></a>
                          <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p>
                          <div class="footer-questions">
                              <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a>
                          </div>
                      </div>
                      <div class="footer__col footer__col-menu js_footer_col">
                          <h3 class="footer__caption js_footer_caption">Меню</h3>
                          <div class="footer__block js_footer_block">
                              <ul class="footer__list">
                                  <li class="footer__item"><a class="footer__link" href="{{ route('index') }}">Главная</a></li>
                                  <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li>
                                  <li class="footer__item"><a class="footer__link" href="{{ route('about') }}">О компании</a></li>
                                  <li class="footer__item"><a class="footer__link" href="{{ route('contact') }}">Контакты</a></li>
                                  <li class="footer__item"><a class="footer__link" href="{{ route('favorite') }}">Избранное</a></li>
                                  <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li>
                              </ul>
  
                          </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a>
                      </div>
                      <div class="footer__col js_footer_col">
                          <h3 class="footer__caption js_footer_caption">Админка</h3>
                          <div class="footer__block js_footer_block">
                              <ul class="footer__list">
                                  <li class="footer__item"><a class="footer__link" href="{{ route('user.index') }}">Главная</a></li>
  
                              </ul>
                          </div>
                      </div>
                      <div class="footer__col js_footer_col">
                          <h3 class="footer__caption js_footer_caption">Система</h3>
                          <div class="footer__block js_footer_block">
                              <ul class="footer__list">
                                  <li class="footer__item"><a class="footer__link" href="{{ route('auth.login') }}">Авторизация</a></li>
                                  <li class="footer__item"><a class="footer__link" href="{{ route('auth.register') }}">Регистрация</a></li>
                              </ul>
                          </div>
                      </div>
                      <div class="footer__col footer__col-contacts">
                          <h3 class="footer__caption js_footer_caption">Контакты</h3>
                          <ul class="footer__list">
                              <li class="footer__item"><a class="footer__link" href="">EmailAdmin</a></li>
                              <li class="footer__item"><a class="footer__link" href="">ТелефонАдмин</a></li>
                          </ul>
                          <div class="footer__social social">
                              <ul class="social__list">
                                  <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg')}}" alt=""></a></li>
                                  <li class="social__item"><a class="social__link" href="#" target="_blank">
                                          <svg width="40" height="40">
                                              <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use>
                                          </svg></a></li>
                              </ul>
                          </div>
                      </div>
                  </div>
              </div>
          </div>
  
          <div class="footer-bottom">
              <div class="container">
                  <div class="footer-bottom__wrap">
                      <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a>
                  </div>
              </div>
          </div>
      </footer>
  </div>
  
  <!-- Вплывающие окна -->
  <div class="popup popup-feedback" data-popup="feedback">
      <div class="popup__wrap">
          <button class="popup__close js_popup_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close')}}"></use>
              </svg>
          </button>
          <form class="popup-feedback__form js_popup_feedback_form" action="{{ route('header_form') }}" method="POST">
              @csrf
              <div class="popup-feedback__title">Как с вами связаться</div>
              <div class="popup-feedback__fields">
                  <label class="popup-feedback__field field">
                      <input type="text" placeholder="Имя" name="NameUser">
                  </label>
                  <label class="popup-feedback__field field">
                      <input class="js_input_phone" type="text" placeholder="Телефон" name="TelephoneUser">
                  </label>
              </div>
              <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
              <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="{{ route('conf') }}">Политикой конфиденциальности</a>.</p>
          </form>
      </div>
  </div>
  <div class="popup popup-feedback" data-popup="viewing">
      <div class="popup__wrap">
          <button class="popup__close js_popup_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close')}}"></use>
              </svg>
          </button>
          <form class="popup-feedback__form js_popup_viewing_form" action="{{ route('rec_view_form') }}" method="POST">
              @csrf
              <div class="popup-feedback__title">Записаться на просмотр</div>
              <div class="popup-feedback__fields">
                  <label class="popup-feedback__field field">
                      <input type="text" placeholder="Имя" name="NameUser">
                  </label>
                  <label class="popup-feedback__field field">
                      <input class="js_input_phone" type="text" placeholder="Телефон" name="TelephoneUser">
                  </label>
              </div>
              <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
              <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
          </form>
      </div>
  </div>
  <div class="popup popup-success" data-popup="success">
      <div class="popup__wrap">
          <button class="popup__close js_popup_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use>
              </svg>
          </button>
          <div class="popup-success__inner">
              <div class="popup-success__logo">
                  <svg width="48" height="39">
                      <use xlink:href="{{ asset('images/sprite.svg#popup-success-logo')}}"></use>
                  </svg>
              </div>
              <div class="popup-success__title">Спасибо за заявку</div>
              <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p>
          </div>
      </div>
  </div>
  <div class="popup popup-feedback" data-popup="sending">
      <div class="popup__wrap">
          <button class="popup__close js_popup_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close')}}"></use>
              </svg>
          </button>
          <form class="popup-feedback__form js_popup_sending_form" action="{{ route('email_form') }}" method="POST">
              @csrf
              <div class="popup-feedback__title">Отправить на почту</div>
              <div class="popup-feedback__fields">
                  <label class="popup-feedback__field field">
                      <input class="js_input_email" type="text" placeholder="Электронная почта" name="EmailUser">
                  </label>
              </div>
              <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
              <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="{{ route('conf') }}">Политикой конфиденциальности</a>.</p>
          </form>
      </div>
  </div>
  <div class="contact-us js_contact_us">
      <div class="contact-us__top">
          <button class="contact-us__close js_contact_us_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close')}}"></use>
              </svg>
          </button>
          <div class="contact-us__title">Свяжитесь с нами</div>
      </div>
      <div class="contact-us__body">
          <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" data-btn="feedback">
                  <div class="contact-us-item__icon">
                      <svg width="34" height="34">
                          <use xlink:href="{{ asset('images/sprite.svg#contact-us-phone')}}"></use>
                      </svg>
                  </div>
                  <div class="contact-us-item__name">Позвонить</div></a>
  
                <a class="contact-us-item js_contact_us_close" data-btn="sending">
                  <div class="contact-us-item__icon">
                      <svg width="44" height="44">
                          <use xlink:href="{{ asset('images/sprite.svg#contact-us-email')}}"></use>
                      </svg>
                  </div>
                  <div class="contact-us-item__name">Написать</div></a>
  
                  <a class="contact-us-item js_contact_us_close" >
                  <div class="contact-us-item__icon">
                      <svg width="34" height="34">
                          <use xlink:href="{{ asset('images/sprite.svg#contact-us-chat')}}"></use>
                      </svg>
                  </div>
                  <div class="contact-us-item__name">Онлайн-чат</div></a></div>
          <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank">
                  <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="{{ asset('images/contact-us-tg.svg')}}" alt=""></div>
                  <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank">
                  <div class="contact-us-social__icon contact-us-social__icon-wa">
                      <svg width="31" height="31">
                          <use xlink:href="{{ asset('images/sprite.svg#contact-us-wa')}}"></use>
                      </svg>
                  </div>
                  <div class="contact-us-social__name">WhatsApp</div></a></div>
      </div>
  </div>
  <div class="offer-side-popup" data-popup="offer-side-popup">
      <div class="offer-side-popup__wrap">
          <button class="offer-side-popup__close js_popup_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close')}}"></use>
              </svg>
          </button>
          <div class="offer-side-popup__cnt">
              <div class="offer-side-popup__item js_offer_side_popup_item active" data-item="1"><img src="{{ asset('images/offer-side-item-img-1.jpg')}}" alt="План объекта"></div>
              <div class="offer-side-popup__item js_offer_side_popup_item" data-item="2"><img src="{{ asset('images/offer-side-item-img-2.jpg')}}" alt="План этажа"></div>
          </div>
          <div class="offer-side-popup__tabs">
              <button class="offer-side-popup__tab js_offer_side_popup_tab active" type="button" data-tab="1">План объекта</button>
              <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button>
          </div>
          <button class="offer-side-popup__sizeoff js_popup_close" type="button">
              <svg width="18" height="18">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-sizeoff')}}"></use>
              </svg>
          </button>
      </div>
  </div>
  <div class="img-viewer js_img_viewer">
      <div class="img-viewer__wrap">
          <button class="img-viewer__close js_img_viewer_close" type="button">
              <svg width="20" height="20">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-close')}}"></use>
              </svg>
          </button>
          <div class="img-viewer__thumbs js_img_viewer_thumbs">
              <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper">
                  <div class="swiper-wrapper"></div>
              </div>
          </div>
          <div class="img-viewer__slider">
              <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper">
                  <div class="swiper-wrapper"></div>
              </div>
              <div class="swiper-button-prev">
                  <svg width="10" height="17">
                      <use xlink:href="{{ asset('images/sprite.svg#slider-arrow')}}"></use>
                  </svg>
              </div>
              <div class="swiper-button-next">
                  <svg width="10" height="17">
                      <use xlink:href="{{ asset('images/sprite.svg#slider-arrow')}}"></use>
                  </svg>
              </div>
          </div>
          <div class="img-viewer__caption js_img_viewer_caption"></div>
          <button class="img-viewer__sizeoff js_img_viewer_close" type="button">
              <svg width="18" height="18">
                  <use xlink:href="{{ asset('images/sprite.svg#popup-sizeoff') }}"></use>
              </svg>
          </button>
      </div>
  </div>
  <div class="cookies js_cookies">
      <div class="container">
          <div class="cookies__wrap">
              <div class="cookies__top">
                  <div class="cookies__img"><img src="{{ asset('images/cookies.svg') }}" alt="cookies"></div>
                  <div class="cookies__title">Cookies</div>
              </div>
              <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p>
              <div class="cookies__buttons">
                  <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="{{ route('cookies') }}">Подробнее</a>
              </div>
          </div>
      </div>
  </div>
  <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script>
  <script src="{{ asset('js/swiper-bundle.min.js') }}"></script>
  <script src="{{ asset('js/main.js') }}"></script>
  <script type="text/javascript" src="{{ asset('js/jquery.min.js') }}"></script>
  <script type="text/javascript" src="{{ asset('js/jquery.cookie.js') }}"></script>
  @yield('custom_js')
  @include('js.cookies_favorite')
  </body>
  </html>