Compare commits
24 Commits
dev
...
dd4134f2d7
| Author | SHA1 | Date | |
|---|---|---|---|
| dd4134f2d7 | |||
| c1398284c7 | |||
| a9b4fd95c3 | |||
| 0fe7aa189c | |||
| 9133bfd8fa | |||
| aa1657bd10 | |||
| 10411dd714 | |||
| 4be3686d2b | |||
| 70e1fa2a10 | |||
| 3a14430cd5 | |||
| 73621de710 | |||
| 5cbae093e9 | |||
| fdaa18c0e6 | |||
| ff6ee93497 | |||
| d62261066f | |||
| 2a852cbb51 | |||
| f561c32526 | |||
| cd36747b5c | |||
| d020bdf9d0 | |||
| cd323ab66c | |||
| 0ac236d2ff | |||
| 769a42ec8b | |||
| 60ff29b23f | |||
| 15ff3d37fc |
@@ -314,11 +314,7 @@ def send_message_ajax(request):
|
|||||||
html = render_to_string('mail/m_request_offer.html', Dict, request)
|
html = render_to_string('mail/m_request_offer.html', Dict, request)
|
||||||
from BaseModels.mailSender import admin_send_mail_by_SMTPlib
|
from BaseModels.mailSender import admin_send_mail_by_SMTPlib
|
||||||
mail_sets = get_mail_send_options()
|
mail_sets = get_mail_send_options()
|
||||||
opts = get_options_by_opt_types('support_email', only_vals=True)
|
to = [mail_sets['sender_email']]
|
||||||
if opts and 'support_email' in opts:
|
|
||||||
to = [opts['support_email']]
|
|
||||||
else:
|
|
||||||
to = [mail_sets['sender_email']]
|
|
||||||
res = admin_send_mail_by_SMTPlib(
|
res = admin_send_mail_by_SMTPlib(
|
||||||
mail_sets,
|
mail_sets,
|
||||||
subject=subject,
|
subject=subject,
|
||||||
|
|||||||
@@ -145,8 +145,8 @@ def send_mail_by_SMTPlib(sets, subject, from_email, to_init, html_content, smtp_
|
|||||||
res = None
|
res = None
|
||||||
|
|
||||||
if type(to) in (list, tuple):
|
if type(to) in (list, tuple):
|
||||||
# if sets['sender_email'] in to:
|
if sets['sender_email'] in to:
|
||||||
# to.remove(sets['sender_email'])
|
to.remove(sets['sender_email'])
|
||||||
|
|
||||||
if len(to) > 1:
|
if len(to) > 1:
|
||||||
to_str = u', '.join(to)
|
to_str = u', '.join(to)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from django.http import HttpResponse, Http404, FileResponse, HttpResponseRedirect
|
from django.http import HttpResponse, Http404, FileResponse
|
||||||
from django.template import loader, RequestContext
|
from django.template import loader, RequestContext
|
||||||
from django.contrib.auth.decorators import login_required
|
from django.contrib.auth.decorators import login_required
|
||||||
|
|
||||||
@@ -15,7 +15,6 @@ from django.views.decorators.csrf import csrf_exempt
|
|||||||
from webpush import send_user_notification
|
from webpush import send_user_notification
|
||||||
import json
|
import json
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from django.urls import reverse
|
|
||||||
|
|
||||||
def generate_routes(request, routes_count):
|
def generate_routes(request, routes_count):
|
||||||
if (not request.user
|
if (not request.user
|
||||||
@@ -74,7 +73,7 @@ def test_code(request):
|
|||||||
|
|
||||||
from RoutesApp.search_matches import search_matches
|
from RoutesApp.search_matches import search_matches
|
||||||
from RoutesApp.models import Route
|
from RoutesApp.models import Route
|
||||||
search_matches(Route.objects.filter(id=17158))
|
search_matches(Route.objects.filter(id=16))
|
||||||
|
|
||||||
# from RoutesApp.funcs import get_city_by_type_transport_and_address_point
|
# from RoutesApp.funcs import get_city_by_type_transport_and_address_point
|
||||||
# from RoutesApp.models import Route
|
# from RoutesApp.models import Route
|
||||||
@@ -249,12 +248,6 @@ def StaticPageView(request, url):
|
|||||||
'route_form': RouteForm(),
|
'route_form': RouteForm(),
|
||||||
'owner_type': 'mover'
|
'owner_type': 'mover'
|
||||||
})
|
})
|
||||||
elif url in ['landing_customer', 'landing_mover']:
|
|
||||||
raise Http404
|
|
||||||
# return HttpResponseRedirect(reverse('customer_landing_page'))
|
|
||||||
# elif url == 'landing_mover':
|
|
||||||
# return HttpResponseRedirect(reverse('mover_landing_page'))
|
|
||||||
|
|
||||||
# elif url == 'works':
|
# elif url == 'works':
|
||||||
# return WorksPage(request)
|
# return WorksPage(request)
|
||||||
elif url in ['main']:
|
elif url in ['main']:
|
||||||
|
|||||||
@@ -30,6 +30,6 @@ class Admin_Route(Admin_Trans_BaseModel):
|
|||||||
search_fields = [
|
search_fields = [
|
||||||
'owner__first_name', 'owner__last_name', 'from_city__name', 'to_city__name', 'owner__email'
|
'owner__first_name', 'owner__last_name', 'from_city__name', 'to_city__name', 'owner__email'
|
||||||
]
|
]
|
||||||
raw_id_fields = ['from_city', 'to_city', 'owner']
|
raw_id_fields = ['from_city', 'to_city']
|
||||||
|
|
||||||
admin.site.register(Route, Admin_Route)
|
admin.site.register(Route,Admin_Route)
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ def send_push_message_for_found_matches_routes(route, data_Dict):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
def send_mail_found_matches_routes(route, matched_route, data_Dict):
|
def send_mail_found_matches_routes(route, data_Dict):
|
||||||
print(f'send_mail_found_matches_routes to route id = {route.id}')
|
print(f'send_mail_found_matches_routes to route id = {route.id}')
|
||||||
|
|
||||||
Dict = {
|
Dict = {
|
||||||
@@ -67,9 +67,7 @@ def send_mail_found_matches_routes(route, matched_route, data_Dict):
|
|||||||
from_email=mail_sets['sender_email'], to=to,
|
from_email=mail_sets['sender_email'], to=to,
|
||||||
html_content=html
|
html_content=html
|
||||||
)
|
)
|
||||||
|
to = ['web@syncsystems.net']
|
||||||
subject = f'route matches {route.id} <> {matched_route.id} send to {route.owner.email}'
|
|
||||||
to = ['web@syncsystems.net', 'sa@a3-global.com']
|
|
||||||
res = admin_send_mail_by_SMTPlib(
|
res = admin_send_mail_by_SMTPlib(
|
||||||
mail_sets,
|
mail_sets,
|
||||||
subject=subject,
|
subject=subject,
|
||||||
@@ -80,56 +78,6 @@ def send_mail_found_matches_routes(route, matched_route, data_Dict):
|
|||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
||||||
def user_notify_by_result_search_matches(route_for_send, founded_route, params):
|
|
||||||
log = ''
|
|
||||||
|
|
||||||
data_Dict = None
|
|
||||||
try:
|
|
||||||
data_Dict = get_Dict_for_send_msgs(params, founded_route.owner_type)
|
|
||||||
except Exception as e:
|
|
||||||
msg = f'<br>\n! search_matches Error get_Dict_for_send_msgs = {str(e)}'
|
|
||||||
print(msg)
|
|
||||||
log += msg
|
|
||||||
|
|
||||||
if data_Dict and check_option_in_cur_user_subscribe(
|
|
||||||
route_for_send.owner, 'push уведомления'
|
|
||||||
):
|
|
||||||
try:
|
|
||||||
msg = send_push_message_for_found_matches_routes(route_for_send, data_Dict)
|
|
||||||
if msg:
|
|
||||||
log += msg
|
|
||||||
except Exception as e:
|
|
||||||
msg = f'<br>\n! search_matches Error send_push_message_for_found_matches_routes = {str(e)}'
|
|
||||||
print(msg)
|
|
||||||
log += msg
|
|
||||||
|
|
||||||
if data_Dict and check_option_in_cur_user_subscribe(
|
|
||||||
route_for_send.owner,
|
|
||||||
'уведомление на e-mail о появлении перевозчика по заданным критериям'
|
|
||||||
):
|
|
||||||
try:
|
|
||||||
msg = send_mail_found_matches_routes(route_for_send, founded_route, data_Dict)
|
|
||||||
if msg:
|
|
||||||
log += msg
|
|
||||||
except Exception as e:
|
|
||||||
msg = f'<br>\n! search_matches Error send_mail_found_matches_routes = {str(e)}'
|
|
||||||
print(msg)
|
|
||||||
log += msg
|
|
||||||
|
|
||||||
return log
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def users_notify_by_result_search_matches(source_route, found_routes, params):
|
|
||||||
log = ''
|
|
||||||
log += user_notify_by_result_search_matches(source_route, found_routes[0], params)
|
|
||||||
|
|
||||||
for route in found_routes:
|
|
||||||
log += user_notify_by_result_search_matches(route, source_route, params)
|
|
||||||
|
|
||||||
return log
|
|
||||||
|
|
||||||
|
|
||||||
def search_matches(for_routes=None):
|
def search_matches(for_routes=None):
|
||||||
print('search_matches')
|
print('search_matches')
|
||||||
|
|
||||||
@@ -199,9 +147,39 @@ def search_matches(for_routes=None):
|
|||||||
|
|
||||||
if found_routes:
|
if found_routes:
|
||||||
msg = f'found routes for send messages = {found_routes.count()}'
|
msg = f'found routes for send messages = {found_routes.count()}'
|
||||||
print(msg)
|
|
||||||
|
|
||||||
log += users_notify_by_result_search_matches(route, found_routes, params)
|
data_Dict = None
|
||||||
|
try:
|
||||||
|
data_Dict = get_Dict_for_send_msgs(params, found_routes[0].owner_type)
|
||||||
|
except Exception as e:
|
||||||
|
msg = f'<br>\n! search_matches Error get_Dict_for_send_msgs = {str(e)}'
|
||||||
|
print(msg)
|
||||||
|
log += msg
|
||||||
|
|
||||||
|
if data_Dict and check_option_in_cur_user_subscribe(
|
||||||
|
route.owner, 'push уведомления'
|
||||||
|
):
|
||||||
|
try:
|
||||||
|
msg = send_push_message_for_found_matches_routes(route, data_Dict)
|
||||||
|
if msg:
|
||||||
|
log += msg
|
||||||
|
except Exception as e:
|
||||||
|
msg = f'<br>\n! search_matches Error send_push_message_for_found_matches_routes = {str(e)}'
|
||||||
|
print(msg)
|
||||||
|
log += msg
|
||||||
|
|
||||||
|
if data_Dict and check_option_in_cur_user_subscribe(
|
||||||
|
route.owner,
|
||||||
|
'уведомление на e-mail о появлении перевозчика по заданным критериям'
|
||||||
|
):
|
||||||
|
try:
|
||||||
|
msg = send_mail_found_matches_routes(route, data_Dict)
|
||||||
|
if msg:
|
||||||
|
log += msg
|
||||||
|
except Exception as e:
|
||||||
|
msg = f'<br>\n! search_matches Error send_mail_found_matches_routes = {str(e)}'
|
||||||
|
print(msg)
|
||||||
|
log += msg
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
msg = f'<br>\n! search_matches Error = {str(e)}'
|
msg = f'<br>\n! search_matches Error = {str(e)}'
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
# Generated by Django 4.2.2 on 2025-02-17 17:48
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('SubscribesApp', '0004_alter_subscribe_bg_color_alter_subscribe_text_color'),
|
|
||||||
('SubscribesApp', '0007_subscribeoption_route_highlight_hours'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
]
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow: /
|
Allow: /
|
||||||
Disallow: */admin/*
|
Disallow: */admin/*
|
||||||
|
|
||||||
Host: dev.tripwb.com
|
Host: tripwb.com
|
||||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
.chatterbox{margin-bottom:160px}@media (min-width: 1720px){.chatterbox{margin-bottom:180px}}@media (max-width: 1304.98px){.chatterbox{margin-bottom:142px}}@media (max-width: 991.98px){.chatterbox{margin-left:-50vw;margin-right:-50vw;margin-bottom:122px}}@media (max-width: 767.98px){.chatterbox{max-width:100vw;margin:0 auto 121px;position:relative}}.chatterbox__slider{max-width:1200px;margin:0 auto}@media (min-width: 1720px){.chatterbox__slider{max-width:1640px}}@media (max-width: 1304.98px){.chatterbox__slider{max-width:1100px}}@media (max-width: 991.98px){.chatterbox__slider{max-width:720px}}@media (max-width: 767.98px){.chatterbox__slider{max-width:830px;width:830px;left:50%;transform:translateX(-50%)}}@media (max-width: 479.98px){.chatterbox__slider{max-width:initial}}.chatterbox__slide{width:335px;height:615px;background:url("/static/img/webp/phone-border.webp") center no-repeat;transition:scale 0.2s ease-in-out;margin:auto;position:relative}@media (min-width: 1720px){.chatterbox__slide{width:456px;height:836px;background-size:456px 836px}}@media (max-width: 1304.98px){.chatterbox__slide{width:308px;height:565px;background-size:308px 565px}}@media (max-width: 991.98px){.chatterbox__slide{width:206px;height:377px;background-size:206px 377px}}@media (max-width: 767.98px){.chatterbox__slide{width:234px;height:429px;background-size:234px 429px}}.chatterbox__slide.loaded video{opacity:1}.chatterbox__slide.loaded img{z-index:-10}.chatterbox__slide video{max-width:100%;opacity:0;transition:opacity 0.2s ease-in-out;pointer-events:none;position:relative}@media (min-width: 1720px){.chatterbox__slide video{top:-2px}}@media (max-width: 1304.98px){.chatterbox__slide video{top:10px}}@media (max-width: 991.98px){.chatterbox__slide video{top:-4px}}@media (max-width: 767.98px){.chatterbox__slide video{top:22px}}.chatterbox__slide img{position:absolute;scale:1.32;top:11%}.chatterbox__wrap{position:absolute;left:8px;right:8px;top:8px;bottom:8px;border-radius:25px;background-color:grey;overflow:hidden}@media (min-width: 1720px){.chatterbox__wrap{border-radius:50px}}.chatterbox__vbtn{position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;transition:opacity 0.2s ease-in-out;pointer-events:none}.loaded .chatterbox__vbtn{display:none}.chatterbox__vbtn::before{width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:var(--color-primary);border:0;border-radius:50%;transition:opacity 100ms linear}@media (min-width: 1720px){.chatterbox__vbtn::before{width:109px;height:109px}}@media (max-width: 991.98px){.chatterbox__vbtn::before{width:48px;height:48px}}@media (max-width: 767.98px){.chatterbox__vbtn::before{width:55px;height:55px}}.chatterbox__vbtn::before,.chatterbox__vbtn::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);cursor:pointer}.chatterbox__vbtn::after{border-color:transparent transparent transparent #ffffff;border-style:solid;border-width:15px 0 15px 25px;display:inline-block;margin-left:2px}@media (min-width: 1720px){.chatterbox__vbtn::after{border-width:23px 0 23px 35px;margin-left:4px}}@media (max-width: 991.98px){.chatterbox__vbtn::after{border-width:10px 0 10px 14px}}.chatterbox__vbox{position:relative;display:flex;justify-content:center;align-items:center;height:600px}@media (min-width: 1720px){.chatterbox__vbox{height:827px}}@media (max-width: 1304.98px){.chatterbox__vbox{height:530px}}@media (max-width: 991.98px){.chatterbox__vbox{height:370px}}.chatterbox__mbtns{position:absolute;top:58%;transform:translateY(-50%);left:0;right:0}@media (max-width: 479.98px){.chatterbox__mbtns{top:61.6%}}.chatterbox .title{margin-bottom:60px}@media (max-width: 1304.98px){.chatterbox .title{margin-bottom:39px}}@media (max-width: 767.98px){.chatterbox .title{margin-bottom:50px}}.chatterbox .slick-next{right:-40px}@media (max-width: 1304.98px){.chatterbox .slick-next{right:-10px}}@media (max-width: 991.98px){.chatterbox .slick-next{width:40px;height:40px;background-size:32%;right:5%}}@media (max-width: 479.98px){.chatterbox .slick-next{right:0}}.chatterbox .slick-prev{left:-40px}@media (max-width: 1304.98px){.chatterbox .slick-prev{left:-10px}}@media (max-width: 991.98px){.chatterbox .slick-prev{width:40px;height:40px;background-size:32%;left:5%}}@media (max-width: 479.98px){.chatterbox .slick-prev{left:0}}@media (max-width: 991.98px){.chatterbox .slick-list{overflow:visible}}.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.72}@media (max-width: 1304.98px){.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.69}}@media (max-width: 991.98px){.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.8}}@media (max-width: 479.98px){.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.85}}.slick-center .chatterbox__vbtn{opacity:1;pointer-events:initial;z-index:1}.slick-center .chatterbox__vbox video{pointer-events:initial;cursor:pointer}
|
.chatterbox{margin-bottom:160px}@media (min-width: 1720px){.chatterbox{margin-bottom:180px}}@media (max-width: 1304.98px){.chatterbox{margin-bottom:142px}}@media (max-width: 991.98px){.chatterbox{margin-left:-50vw;margin-right:-50vw;margin-bottom:122px}}@media (max-width: 767.98px){.chatterbox{max-width:100vw;margin:0 auto 121px;position:relative}}.chatterbox__slider{max-width:1200px;margin:0 auto}@media (min-width: 1720px){.chatterbox__slider{max-width:1640px}}@media (max-width: 1304.98px){.chatterbox__slider{max-width:1100px}}@media (max-width: 991.98px){.chatterbox__slider{max-width:720px}}@media (max-width: 767.98px){.chatterbox__slider{max-width:830px;width:830px;left:50%;transform:translateX(-50%)}}@media (max-width: 479.98px){.chatterbox__slider{max-width:initial}}.chatterbox__slide{width:335px;height:615px;background:url("/static/img/webp/phone-border.webp") center no-repeat;transition:scale 0.2s ease-in-out;margin:auto;position:relative}@media (min-width: 1720px){.chatterbox__slide{width:456px;height:836px;background-size:456px 836px}}@media (max-width: 1304.98px){.chatterbox__slide{width:308px;height:565px;background-size:308px 565px}}@media (max-width: 991.98px){.chatterbox__slide{width:206px;height:377px;background-size:206px 377px}}@media (max-width: 767.98px){.chatterbox__slide{width:234px;height:429px;background-size:234px 429px}}.chatterbox__slide.loaded video{opacity:1}.chatterbox__slide.loaded img{z-index:-10}.chatterbox__slide video{max-width:100%;opacity:0;transition:opacity 0.2s ease-in-out;pointer-events:none}@media (max-width: 767.98px){.chatterbox__slide video{position:relative;top:-4px}}.chatterbox__slide img{position:absolute;scale:1.32;top:11%}.chatterbox__wrap{position:absolute;left:8px;right:8px;top:8px;bottom:8px;border-radius:25px;background-color:grey;overflow:hidden}@media (min-width: 1720px){.chatterbox__wrap{border-radius:50px}}.chatterbox__vbtn{position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;transition:opacity 0.2s ease-in-out;pointer-events:none}.loaded .chatterbox__vbtn{display:none}.chatterbox__vbtn::before{width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:var(--color-primary);border:0;border-radius:50%;transition:opacity 100ms linear}@media (min-width: 1720px){.chatterbox__vbtn::before{width:109px;height:109px}}@media (max-width: 991.98px){.chatterbox__vbtn::before{width:48px;height:48px}}@media (max-width: 767.98px){.chatterbox__vbtn::before{width:55px;height:55px}}.chatterbox__vbtn::before,.chatterbox__vbtn::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);cursor:pointer}.chatterbox__vbtn::after{border-color:transparent transparent transparent #ffffff;border-style:solid;border-width:15px 0 15px 25px;display:inline-block;margin-left:2px}@media (min-width: 1720px){.chatterbox__vbtn::after{border-width:23px 0 23px 35px;margin-left:4px}}@media (max-width: 991.98px){.chatterbox__vbtn::after{border-width:10px 0 10px 14px}}.chatterbox__vbox{position:relative;display:flex;justify-content:center;align-items:center;height:600px}@media (min-width: 1720px){.chatterbox__vbox{height:827px}}@media (max-width: 1304.98px){.chatterbox__vbox{height:530px}}@media (max-width: 991.98px){.chatterbox__vbox{height:370px}}.chatterbox__mbtns{position:absolute;top:58%;transform:translateY(-50%);left:0;right:0}@media (max-width: 479.98px){.chatterbox__mbtns{top:61.6%}}.chatterbox .title{margin-bottom:60px}@media (max-width: 1304.98px){.chatterbox .title{margin-bottom:39px}}@media (max-width: 767.98px){.chatterbox .title{margin-bottom:50px}}.chatterbox .slick-next{right:-40px}@media (max-width: 1304.98px){.chatterbox .slick-next{right:-10px}}@media (max-width: 991.98px){.chatterbox .slick-next{width:40px;height:40px;background-size:32%;right:5%}}@media (max-width: 479.98px){.chatterbox .slick-next{right:0}}.chatterbox .slick-prev{left:-40px}@media (max-width: 1304.98px){.chatterbox .slick-prev{left:-10px}}@media (max-width: 991.98px){.chatterbox .slick-prev{width:40px;height:40px;background-size:32%;left:5%}}@media (max-width: 479.98px){.chatterbox .slick-prev{left:0}}@media (max-width: 991.98px){.chatterbox .slick-list{overflow:visible}}.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.72}@media (max-width: 1304.98px){.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.69}}@media (max-width: 991.98px){.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.8}}@media (max-width: 479.98px){.slick-slide:not(.slick-center) .chatterbox__slide{scale:0.85}}.slick-center .chatterbox__vbtn{opacity:1;pointer-events:initial;z-index:1}.slick-center .chatterbox__vbox video{pointer-events:initial;cursor:pointer}
|
||||||
|
|||||||
@@ -27,12 +27,11 @@ function SendLoginForm(el){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(url === '/user_account/login/') {
|
if(url === '/user_account/login/'){
|
||||||
localStorage.setItem('needed_fbq', true)
|
|
||||||
location.href = data.redirect_url//`/profile/page/dashboard/`
|
location.href = data.redirect_url//`/profile/page/dashboard/`
|
||||||
window.sessionStorage.removeItem('mailingSubscribeRequired')
|
window.sessionStorage.removeItem('mailingSubscribeRequired')
|
||||||
window.sessionStorage.removeItem('email')
|
window.sessionStorage.removeItem('email')
|
||||||
} else if (url === '/user_account/password_recovery/'){
|
} else if(url === '/user_account/password_recovery/'){
|
||||||
document.getElementById('password_recovery').innerHTML = data.message
|
document.getElementById('password_recovery').innerHTML = data.message
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,26 +36,26 @@ function SendRegistrationForm(el, user_id){
|
|||||||
window.sessionStorage.removeItem('mailingSubscribeRequired')
|
window.sessionStorage.removeItem('mailingSubscribeRequired')
|
||||||
window.sessionStorage.removeItem('email')
|
window.sessionStorage.removeItem('email')
|
||||||
|
|
||||||
fbq('track', 'Contact');
|
// fbq('track', 'Contact');
|
||||||
|
|
||||||
|
|
||||||
// ttq.identify({
|
ttq.identify({
|
||||||
// "email": "<hashed_email_address>", // string. The email of the customer if available. It must be hashed with SHA-256 on the client side.
|
"email": "<hashed_email_address>", // string. The email of the customer if available. It must be hashed with SHA-256 on the client side.
|
||||||
// "phone_number": "<hashed_phone_number>", // string. The phone number of the customer if available. It must be hashed with SHA-256 on the client side.
|
"phone_number": "<hashed_phone_number>", // string. The phone number of the customer if available. It must be hashed with SHA-256 on the client side.
|
||||||
// "external_id": "<hashed_extenal_id>" // string. Any unique identifier, such as loyalty membership IDs, user IDs, and external cookie IDs.It must be hashed with SHA-256 on the client side.
|
"external_id": "<hashed_extenal_id>" // string. Any unique identifier, such as loyalty membership IDs, user IDs, and external cookie IDs.It must be hashed with SHA-256 on the client side.
|
||||||
// });
|
});
|
||||||
|
|
||||||
// ttq.track('CompleteRegistration', {
|
ttq.track('CompleteRegistration', {
|
||||||
// "contents": [
|
"contents": [
|
||||||
// {
|
{
|
||||||
// "content_id": "<content_identifier>", // string. ID of the product. Example: "1077218".
|
"content_id": "<content_identifier>", // string. ID of the product. Example: "1077218".
|
||||||
// "content_type": "<content_type>", // string. Either product or product_group.
|
"content_type": "<content_type>", // string. Either product or product_group.
|
||||||
// "content_name": "<content_name>" // string. The name of the page or product. Example: "shirt".
|
"content_name": "<content_name>" // string. The name of the page or product. Example: "shirt".
|
||||||
// }
|
}
|
||||||
// ],
|
],
|
||||||
// "value": "<content_value>", // number. Value of the order or items sold. Example: 100.
|
"value": "<content_value>", // number. Value of the order or items sold. Example: 100.
|
||||||
// "currency": "<content_currency>" // string. The 4217 currency code. Example: "USD".
|
"currency": "<content_currency>" // string. The 4217 currency code. Example: "USD".
|
||||||
// });
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -87,3 +87,5 @@ function SendRegistrationForm(el, user_id){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -96,22 +96,10 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: relative;
|
|
||||||
|
|
||||||
@media (min-width: 1720px) {
|
|
||||||
top: -2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 1304.98px) {
|
|
||||||
top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 991.98px) {
|
|
||||||
top: -4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767.98px) {
|
@media (max-width: 767.98px) {
|
||||||
top: 22px;
|
position: relative;
|
||||||
|
top: -4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<a href="https://vk.com/club226251027" target="_blank"><img class="svg" src="/static/img/svg/vk.svg"></a>
|
<a href="https://vk.com/club226251027" target="_blank"><img class="svg" src="/static/img/svg/vk.svg"></a>
|
||||||
<a href="https://www.tiktok.com/@tripwithbonus?_t=8qHingfQWNq" target="_blank"><img class="svg" src="/static/img/svg/tiktok.svg"></a>
|
<a href="https://www.tiktok.com/@tripwithbonus?_t=8qHingfQWNq" target="_blank"><img class="svg" src="/static/img/svg/tiktok.svg"></a>
|
||||||
<a href="https://youtube.com/@tripwb?si=oiNZrtiOqx6OePJv" target="_blank"><img class="svg" src="/static/img/svg/Youtube.svg"></a>
|
<a href="https://youtube.com/@tripwb?si=oiNZrtiOqx6OePJv" target="_blank"><img class="svg" src="/static/img/svg/Youtube.svg"></a>
|
||||||
<a href="https://t.me/tripWB" target="_blank"><img class="svg" src="/static/img/svg/Telegram.svg"></a>
|
<a href="https://t.me/+XA6A8Ls7fYw2Yzli" target="_blank"><img class="svg" src="/static/img/svg/Telegram.svg"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="second-column">
|
<div class="second-column">
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<span id="sub_title_static">{% trans "Быстро, без посредников, без ограничений" %}</span>
|
<span id="sub_title_static">{% trans "Быстро, без посредников, без ограничений" %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.url == 'for_movers' %}
|
{% if page.url == 'for_movers' %}
|
||||||
<span id="sub_title_static">{% trans "Общайся, перевози посылки и получай бонусы" %}</span>
|
<span id="sub_title_static">{% trans "Общайся, перевози послылки и получай бонусы" %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="button_container">
|
<div class="button_container">
|
||||||
|
|
||||||
|
|||||||
@@ -94,15 +94,5 @@
|
|||||||
<option value="last" {% if route_form.initial.sort == item.0 %} selected{% endif %}>{% translate "По последним" %}</option>
|
<option value="last" {% if route_form.initial.sort == item.0 %} selected{% endif %}>{% translate "По последним" %}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div><!-- Yandex.RTB R-A-14631137-1 -->
|
|
||||||
<div id="yandex_rtb_R-A-14631137-1"></div>
|
|
||||||
<script>
|
|
||||||
window.yaContextCb.push(() => {
|
|
||||||
Ya.Context.AdvManager.render({
|
|
||||||
"blockId": "R-A-14631137-1",
|
|
||||||
"renderTo": "yandex_rtb_R-A-14631137-1"
|
|
||||||
})
|
|
||||||
})
|
|
||||||
</script></div>
|
|
||||||
|
|
||||||
{#</div>#}
|
{#</div>#}
|
||||||
@@ -649,7 +649,7 @@
|
|||||||
|
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:title" content="Партнерская программа доставки посылок в СНГ | TWB">
|
<meta property="og:title" content="Партнерская программа доставки посылок в СНГ | TWB">
|
||||||
<meta property="og:description" content="Хотите стать партнером? ✓ Выгодные условия нашим партнерам ✓ Действует система бонусов и накоплений ➡️ Становитесь нашим партнером">
|
<meta property="og:description" content="Хотите стать партнером? ✓ Выгодные условия нашим партнерам ✓ Действует система бонусов и накоплений ➡️ Становитесь нашим партнерам">
|
||||||
<meta property="og:url" content="https://tripwb.com/ru/page/partners/">
|
<meta property="og:url" content="https://tripwb.com/ru/page/partners/">
|
||||||
<meta property="og:image" content="https://tripwb.com/static/img/png/finlogo.png">
|
<meta property="og:image" content="https://tripwb.com/static/img/png/finlogo.png">
|
||||||
<meta property="og:site_name" content="TWB">
|
<meta property="og:site_name" content="TWB">
|
||||||
@@ -657,7 +657,7 @@
|
|||||||
<meta property="fb:app_id" content="tripwithbonus">
|
<meta property="fb:app_id" content="tripwithbonus">
|
||||||
|
|
||||||
<meta name="twitter:title" content="Партнерская программа доставки посылок в СНГ | TWB">
|
<meta name="twitter:title" content="Партнерская программа доставки посылок в СНГ | TWB">
|
||||||
<meta name="twitter:description" content="Хотите стать партнером? ✓ Выгодные условия нашим партнерам ✓ Действует система бонусов и накоплений ➡️ Становитесь нашим партнером">
|
<meta name="twitter:description" content="Хотите стать партнером? ✓ Выгодные условия нашим партнерам ✓ Действует система бонусов и накоплений ➡️ Становитесь нашим партнерам">
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
|
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
|
|||||||
@@ -7,63 +7,9 @@
|
|||||||
<link rel="stylesheet" href="{% static "css/slick.css" %}">
|
<link rel="stylesheet" href="{% static "css/slick.css" %}">
|
||||||
<script src="{% static "js/slick.min.js" %}"></script>
|
<script src="{% static "js/slick.min.js" %}"></script>
|
||||||
<script src="{% static "js/push/lazyload.min.js" %}"></script>
|
<script src="{% static "js/push/lazyload.min.js" %}"></script>
|
||||||
|
|
||||||
<!-- Meta Pixel Code -->
|
|
||||||
<script>
|
|
||||||
!function(f,b,e,v,n,t,s)
|
|
||||||
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
||||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
||||||
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
||||||
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
||||||
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
||||||
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
||||||
'https://connect.facebook.net/en_US/fbevents.js');
|
|
||||||
fbq('init', '1123814969330706');
|
|
||||||
fbq('track', 'PageView');
|
|
||||||
</script>
|
|
||||||
<noscript><img height="1" width="1" style="display:none"
|
|
||||||
src="https://www.facebook.com/tr?id=1123814969330706&ev=PageView&noscript=1"
|
|
||||||
/></noscript>
|
|
||||||
<!-- End Meta Pixel Code -->
|
|
||||||
|
|
||||||
<!-- TikTok Pixel Code Start -->
|
|
||||||
<script>
|
|
||||||
!function (w, d, t) {
|
|
||||||
w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(
|
|
||||||
var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement("script")
|
|
||||||
;n.type="text/javascript",n.async=!0,n.src=r+"?sdkid="+e+"&lib="+t;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)};
|
|
||||||
|
|
||||||
|
|
||||||
ttq.load('CVE2FBRC77U60E3J820G');
|
|
||||||
ttq.page();
|
|
||||||
}(window, document, 'ttq');
|
|
||||||
</script>
|
|
||||||
<!-- TikTok Pixel Code End -->
|
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<!-- Yandex.Metrika counter -->
|
|
||||||
<script type="text/javascript" >
|
|
||||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
|
||||||
m[i].l=1*new Date();
|
|
||||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
|
||||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
|
||||||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
|
||||||
|
|
||||||
ym(97070898, "init", {
|
|
||||||
clickmap:true,
|
|
||||||
trackLinks:true,
|
|
||||||
accurateTrackBounce:true,
|
|
||||||
webvisor:true,
|
|
||||||
ecommerce:"dataLayer"
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<noscript><div><img src="https://mc.yandex.ru/watch/97070898" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
||||||
<!-- /Yandex.Metrika counter -->
|
|
||||||
|
|
||||||
<section class="presentation">
|
<section class="presentation">
|
||||||
<div class="presentation__top">
|
<div class="presentation__top">
|
||||||
<h1 class="presentation__title">
|
<h1 class="presentation__title">
|
||||||
@@ -219,7 +165,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
{% translate "Чтобы разместить объявление - зарегистрируйтесь" %}
|
{% translate "Чтобы разместить объявление - зарегистрируйтесь" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="easy__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
class="easy__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -237,9 +183,9 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="h3">
|
<div class="h3">
|
||||||
{% translate "Хотите перевезти посылку и окупить стоимость дороги, топлива?" %}
|
{% translate "Хотите перевезти посылку и окупить стоимость дороги, топлива?" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;" class="use__btn btn btn--primary">{% translate "Найти посылку" %}</a>
|
<a href="{% url "registration_page" %}" class="use__btn btn btn--primary">{% translate "Найти посылку" %}</a>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;" class="use__link">{% translate "Зарегистрироваться" %}</a>
|
<a href="{% url "registration_page" %}" class="use__link">{% translate "Зарегистрироваться" %}</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="benefits" id="benefits">
|
<section class="benefits" id="benefits">
|
||||||
@@ -298,7 +244,6 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<video
|
<video
|
||||||
data-src="{{ MEDIA_URL }}{{ media_item.video }}"
|
data-src="{{ MEDIA_URL }}{{ media_item.video }}"
|
||||||
poster="{{ MEDIA_URL }}{{ media_item.picture }}"
|
poster="{{ MEDIA_URL }}{{ media_item.picture }}"
|
||||||
playsinline="false"
|
|
||||||
controls
|
controls
|
||||||
autoplay
|
autoplay
|
||||||
></video>
|
></video>
|
||||||
@@ -434,7 +379,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
{% translate "Зарегистрируйся на <a href='https://tripwb.com/' class='animate__link'>Trip With Bonus</a> прямо сейчас, размести бесплатно объявление и получи отклики от людей с посылками" %}
|
{% translate "Зарегистрируйся на <a href='https://tripwb.com/' class='animate__link'>Trip With Bonus</a> прямо сейчас, размести бесплатно объявление и получи отклики от людей с посылками" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
@@ -517,7 +462,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="title">
|
<div class="title">
|
||||||
{% translate "Размести свое объявление какую посылку ты можешь перевезти прямо сейчас " %}
|
{% translate "Размести свое объявление какую посылку ты можешь перевезти прямо сейчас " %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -538,7 +483,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="h3">
|
<div class="h3">
|
||||||
{% translate "Зарегистрируйся бесплатно прямо сейчас и начни размещать объявления о перевозки посылки" %}
|
{% translate "Зарегистрируйся бесплатно прямо сейчас и начни размещать объявления о перевозки посылки" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="sore__btn btn btn--primary">{% translate "Зарегистрироваться" %}</a>
|
class="sore__btn btn btn--primary">{% translate "Зарегистрироваться" %}</a>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<meta name="facebook-domain-verification" content="e9xtao0o9fvuc3gbturkp57qi2upqb" />
|
|
||||||
<div class="top_block_static_wrapper_main">
|
<div class="top_block_static_wrapper_main">
|
||||||
<div class="top_block_static">
|
<div class="top_block_static">
|
||||||
|
|
||||||
|
|||||||
@@ -7,64 +7,9 @@
|
|||||||
<link rel="stylesheet" href="{% static "css/slick.css" %}">
|
<link rel="stylesheet" href="{% static "css/slick.css" %}">
|
||||||
<script src="{% static "js/slick.min.js" %}"></script>
|
<script src="{% static "js/slick.min.js" %}"></script>
|
||||||
<script src="{% static "js/push/lazyload.min.js" %}"></script>
|
<script src="{% static "js/push/lazyload.min.js" %}"></script>
|
||||||
|
|
||||||
<!-- Meta Pixel Code -->
|
|
||||||
<script>
|
|
||||||
!function(f,b,e,v,n,t,s)
|
|
||||||
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
||||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
||||||
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
||||||
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
||||||
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
||||||
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
||||||
'https://connect.facebook.net/en_US/fbevents.js');
|
|
||||||
fbq('init', '1009253847591455');
|
|
||||||
fbq('track', 'PageView');
|
|
||||||
</script>
|
|
||||||
<noscript><img height="1" width="1" style="display:none"
|
|
||||||
src="https://www.facebook.com/tr?id=1009253847591455&ev=PageView&noscript=1"
|
|
||||||
/></noscript>
|
|
||||||
<!-- End Meta Pixel Code -->
|
|
||||||
|
|
||||||
<!-- TikTok Pixel Code Start -->
|
|
||||||
<script>
|
|
||||||
!function (w, d, t) {
|
|
||||||
w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(
|
|
||||||
var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement("script")
|
|
||||||
;n.type="text/javascript",n.async=!0,n.src=r+"?sdkid="+e+"&lib="+t;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)};
|
|
||||||
|
|
||||||
|
|
||||||
ttq.load('CVE2H93C77U83BE8I4U0');
|
|
||||||
ttq.page();
|
|
||||||
}(window, document, 'ttq');
|
|
||||||
</script>
|
|
||||||
<!-- TikTok Pixel Code End -->
|
|
||||||
|
|
||||||
<meta name="facebook-domain-verification" content="e9xtao0o9fvuc3gbturkp57qi2upqb" />
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<!-- Yandex.Metrika counter -->
|
|
||||||
<script type="text/javascript" >
|
|
||||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
|
||||||
m[i].l=1*new Date();
|
|
||||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
|
||||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
|
||||||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
|
||||||
|
|
||||||
ym(97070898, "init", {
|
|
||||||
clickmap:true,
|
|
||||||
trackLinks:true,
|
|
||||||
accurateTrackBounce:true,
|
|
||||||
webvisor:true,
|
|
||||||
ecommerce:"dataLayer"
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<noscript><div><img src="https://mc.yandex.ru/watch/97070898" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
||||||
<!-- /Yandex.Metrika counter -->
|
|
||||||
|
|
||||||
|
|
||||||
<section class="presentation">
|
<section class="presentation">
|
||||||
<div class="presentation__top">
|
<div class="presentation__top">
|
||||||
<h1 class="presentation__title">
|
<h1 class="presentation__title">
|
||||||
@@ -221,7 +166,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
{% translate "Чтобы разместить объявление - зарегистрируйтесь" %}
|
{% translate "Чтобы разместить объявление - зарегистрируйтесь" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="easy__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
class="easy__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
||||||
</section>
|
</section>
|
||||||
<section class="use">
|
<section class="use">
|
||||||
@@ -239,9 +184,9 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="h3">
|
<div class="h3">
|
||||||
{% translate "Нужно отправить посылку партнеру, родителям или знакомым?" %}
|
{% translate "Нужно отправить посылку партнеру, родителям или знакомым?" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;" class="use__btn btn btn--primary">{% translate "Найти перевозчика" %}</a>
|
<a href="{% url "registration_page" %}" class="use__btn btn btn--primary">{% translate "Найти перевозчика" %}</a>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;" class="use__link">{% translate "Зарегистрироваться" %}</a>
|
<a href="{% url "registration_page" %}" class="use__link">{% translate "Зарегистрироваться" %}</a>
|
||||||
</section>
|
</section>
|
||||||
<section class="diff">
|
<section class="diff">
|
||||||
<div class="title">{% translate "Чем мы отличаемся от классических почтовых сервисов" %}</div>
|
<div class="title">{% translate "Чем мы отличаемся от классических почтовых сервисов" %}</div>
|
||||||
@@ -313,7 +258,6 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<video
|
<video
|
||||||
data-src="{{ MEDIA_URL }}{{ media_item.video }}"
|
data-src="{{ MEDIA_URL }}{{ media_item.video }}"
|
||||||
poster="{{ MEDIA_URL }}{{ media_item.picture }}"
|
poster="{{ MEDIA_URL }}{{ media_item.picture }}"
|
||||||
playsinline="false"
|
|
||||||
controls
|
controls
|
||||||
autoplay
|
autoplay
|
||||||
></video>
|
></video>
|
||||||
@@ -447,7 +391,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
{% translate "Зарегистрируйся на <a href='https://tripwb.com/' class='animate__link'>Trip With Bonus</a> прямо сейчас, размести бесплатно объявление и получи запросы на перевозку твоей посылки" %}
|
{% translate "Зарегистрируйся на <a href='https://tripwb.com/' class='animate__link'>Trip With Bonus</a> прямо сейчас, размести бесплатно объявление и получи запросы на перевозку твоей посылки" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
@@ -524,11 +468,11 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
</div>
|
</div>
|
||||||
<div class="benefits__third">
|
<div class="benefits__third">
|
||||||
<div class="benefits__item">
|
<div class="benefits__item">
|
||||||
<h2>{% translate "Удобный поиск" %}</h2>
|
<h2>{% translate "Уведомления" %}</h2>
|
||||||
<p>{% translate "Можешь самостоятельно найти перевозчиков или разместить объявление на сайте." %}</p>
|
<p>{% translate "Можешь самостоятельно найти перевозчиков или разместить объявление на сайте." %}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="benefits__item">
|
<div class="benefits__item">
|
||||||
<h2>{% translate "Уведомления" %}</h2>
|
<h2>{% translate "Удобный поиск" %}</h2>
|
||||||
<p>{% translate "Как только по твоему объявлению найдется перевозчик мы сообщим на E-mail." %}</p>
|
<p>{% translate "Как только по твоему объявлению найдется перевозчик мы сообщим на E-mail." %}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="benefits__item">
|
<div class="benefits__item">
|
||||||
@@ -587,7 +531,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
{% translate "Достаточно просто зайти на сайт, разместить объявление в пару кликов и дождаться откликов от попутчиков." %}
|
{% translate "Достаточно просто зайти на сайт, разместить объявление в пару кликов и дождаться откликов от попутчиков." %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
class="use__btn btn btn--primary">{% translate "Разместить объявление" %}</a>
|
||||||
</section>
|
</section>
|
||||||
<section class="sore">
|
<section class="sore">
|
||||||
@@ -607,7 +551,7 @@ var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n
|
|||||||
<div class="h3">
|
<div class="h3">
|
||||||
{% translate "Зарегистрируйте бесплатно прямо сейчас и размести свое первое объявление об отправке посылки" %}
|
{% translate "Зарегистрируйте бесплатно прямо сейчас и размести свое первое объявление об отправке посылки" %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{% url "registration_page" %}" onclick="ym(97070898,'reachGoal','Registration'); return true;"
|
<a href="{% url "registration_page" %}"
|
||||||
class="sore__btn btn btn--primary">{% translate "Зарегистрироваться и разместить" %}</a>
|
class="sore__btn btn btn--primary">{% translate "Зарегистрироваться и разместить" %}</a>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
{% block meta %}
|
{% block meta %}
|
||||||
<script src='{% static "js/authorization.js" %}'></script>
|
<script src='{% static "js/authorization.js" %}'></script>
|
||||||
<script src='{% static "js/registration.js" %}'></script>
|
<script src='{% static "js/registration.js" %}'></script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@@ -3,29 +3,8 @@
|
|||||||
|
|
||||||
{% block meta %}
|
{% block meta %}
|
||||||
<script src='{% static "js/registration.js" %}'></script>
|
<script src='{% static "js/registration.js" %}'></script>
|
||||||
<script>fbq('track', 'Contact');</script>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<!-- Meta Pixel Code -->
|
|
||||||
<script>
|
|
||||||
!function(f,b,e,v,n,t,s)
|
|
||||||
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
||||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
||||||
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
||||||
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
||||||
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
||||||
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
||||||
'https://connect.facebook.net/en_US/fbevents.js');
|
|
||||||
fbq('init', '1123814969330706');
|
|
||||||
fbq('track', 'PageView');
|
|
||||||
</script>
|
|
||||||
<noscript><img height="1" width="1" style="display:none"
|
|
||||||
src="https://www.facebook.com/tr?id=1123814969330706&ev=PageView&noscript=1"
|
|
||||||
/></noscript>
|
|
||||||
<!-- End Meta Pixel Code -->
|
|
||||||
|
|
||||||
|
|
||||||
{% include 'forms/f_registration.html' %}
|
{% include 'forms/f_registration.html' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -33,27 +33,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<script defer src='{% static "js/check_new_messages.js" %}'></script>
|
<script defer src='{% static "js/check_new_messages.js" %}'></script>
|
||||||
<script>
|
|
||||||
!function(f,b,e,v,n,t,s)
|
|
||||||
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
||||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
||||||
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
||||||
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
||||||
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
||||||
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
||||||
'https://connect.facebook.net/en_US/fbevents.js');
|
|
||||||
fbq('init', '1123814969330706');
|
|
||||||
fbq('track', 'PageView');
|
|
||||||
</script>
|
|
||||||
<noscript><img height="1" width="1" style="display:none"
|
|
||||||
src="https://www.facebook.com/tr?id=1123814969330706&ev=PageView&noscript=1"
|
|
||||||
/></noscript>
|
|
||||||
<script>
|
|
||||||
if (localStorage.getItem("needed_fbq")){
|
|
||||||
fbq('track', 'Contact');
|
|
||||||
localStorage.removeItem("needed_fbq")
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@@ -17,14 +17,6 @@
|
|||||||
{% webpush_header %}
|
{% webpush_header %}
|
||||||
<meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI" />
|
<meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI" />
|
||||||
<meta name="yandex-verification" content="b8a976575e41fbbc" />
|
<meta name="yandex-verification" content="b8a976575e41fbbc" />
|
||||||
<meta name="google-adsense-account" content="ca-pub-3479005276839542">
|
|
||||||
|
|
||||||
<!-- Yandex.RTB -->
|
|
||||||
<script>window.yaContextCb=window.yaContextCb||[]</script>
|
|
||||||
<script src="https://yandex.ru/ads/system/context.js" async></script>
|
|
||||||
|
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3479005276839542"
|
|
||||||
crossorigin="anonymous"></script>
|
|
||||||
|
|
||||||
{% include "inter/meta_OpenGraph_Schema.html" %}
|
{% include "inter/meta_OpenGraph_Schema.html" %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user