169 lines
6.5 KiB
HTML
169 lines
6.5 KiB
HTML
{% load static %}
|
|
{% load tt_chat %}
|
|
{% load i18n %}
|
|
{% load webpush_notifications %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="{{ request.LANGUAGE_CODE }}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width,maximum-scale=1,minimum-scale=1,initial-scale=1,height=device-height">
|
|
{% if page.description %}
|
|
<meta name="description" content="{{ page.description }}">
|
|
{% else %}
|
|
{% block default_meta_description %}{% endblock %}
|
|
{% endif %}
|
|
<meta name="vapid-key" content="{{ vapid_key }}">
|
|
{% webpush_header %}
|
|
<meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI"/>
|
|
<meta name="yandex-verification" content="b8a976575e41fbbc"/>
|
|
|
|
{% include "inter/meta_OpenGraph_Schema.html" %}
|
|
|
|
|
|
<!-- Event snippet for Sign-up conversion page
|
|
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
|
|
<script>
|
|
function gtag_report_conversion(url) {
|
|
var callback = function () {
|
|
if (typeof (url) != 'undefined') {
|
|
window.location = url;
|
|
}
|
|
};
|
|
gtag('event', 'conversion', {
|
|
'send_to': 'AW-16654215692/tPyZCPyJgcYZEIzUrIU-',
|
|
'event_callback': callback
|
|
});
|
|
return false;
|
|
}
|
|
</script>
|
|
|
|
<title>
|
|
{% if page.title %}
|
|
{{ page.title }}
|
|
{% else %}
|
|
{% block title %}{% endblock %}
|
|
{% endif %}
|
|
</title>
|
|
|
|
{% include "inter/meta_names.html" %}
|
|
<script type="text/javascript" src="{% static "js/jquery_3_2_1.js" %}"></script>
|
|
<script type="text/javascript" src="{% static "js/moment_js.js" %}"></script>
|
|
<script type="text/javascript" src="{% static "js/moment-with-locales.js" %}"></script>
|
|
<script type="text/javascript" src="{% static "js/datarangepicker.js" %}"></script>
|
|
<script type="text/javascript" src="{% static "js/push/registerSw.js" %}"></script>
|
|
<script src="{% static "js/rangecalendartech.js" %}"></script>
|
|
|
|
<link rel="stylesheet" href="{% static 'css/datarangepicker.css' %}"/>
|
|
<script src="{% static "js/global_js.js" %}"></script>
|
|
<script src="{% static "js/chat_socket_start.js" %}"></script>
|
|
{% if user and not user.is_anonymous %}
|
|
{% include "connect_ws_js.html" %}
|
|
<script src='{% static "js/chat_sockets.js" %}'></script>
|
|
<script>
|
|
|
|
{#var user_id = {{ user.id }}#}
|
|
{% if prod %}
|
|
ws_url = `wss://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`;
|
|
{% else %}
|
|
ws_url = `ws://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`;
|
|
{% endif %}
|
|
var chatSocket;
|
|
init_ws()
|
|
const beep = new Audio('/static/sounds/beep_2.mp3')
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
|
<link rel="stylesheet" href="{% static 'css/styles(boris).css' %}">
|
|
<link rel="stylesheet" href="{% static 'css/mobile_styles.css' %}">
|
|
|
|
|
|
<link rel="stylesheet" href="{% static 'css/critical.css' %}">
|
|
<link rel="stylesheet" href="{% static 'css/create_poster.css' %}">
|
|
|
|
|
|
<script src='{% static "js/find_route.js" %}'></script>
|
|
<script src="{% static "js/filters_functions_find_route.js" %}"></script>
|
|
<script src="{% static "js/dynamic_loading_routes.js" %}"></script>
|
|
<script src="{% static "js/ion.rangeSlider.min.js" %}"></script>
|
|
<link rel="stylesheet" href="{% static "css/ion.rangeSlider.min.css" %}">
|
|
|
|
<link rel="icon" href="{% static 'favicon/favicon.svg' %}" sizes="any" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" sizes="57x57" href={% static 'favicon/apple-icon-57x57.png' %}>
|
|
<link rel="apple-touch-icon" sizes="60x60" href={% static "favicon/apple-icon-60x60.png" %}>
|
|
<link rel="apple-touch-icon" sizes="72x72" href={% static "favicon/apple-icon-72x72.png" %}>
|
|
<link rel="apple-touch-icon" sizes="76x76" href={% static "favicon/apple-icon-76x76.png" %}>
|
|
<link rel="apple-touch-icon" sizes="114x114" href={% static "favicon/apple-icon-114x114.png" %}>
|
|
<link rel="apple-touch-icon" sizes="120x120" href={% static "favicon/apple-icon-120x120.png" %}>
|
|
<link rel="apple-touch-icon" sizes="144x144" href={% static "favicon/apple-icon-144x144.png" %}>
|
|
<link rel="apple-touch-icon" sizes="152x152" href={% static "favicon/apple-icon-152x152.png" %}>
|
|
<link rel="apple-touch-icon" sizes="180x180" href={% static "favicon/apple-icon-180x180.png" %}>
|
|
<link rel="icon" type="image/png" sizes="192x192" href={% static "favicon/android-icon-192x192.png" %}>
|
|
<link rel="icon" type="image/png" sizes="32x32" href={% static "favicon/favicon-32x32.png" %}>
|
|
<link rel="icon" type="image/png" sizes="96x96" href={% static "favicon/favicon-96x96.png" %}>
|
|
<link rel="icon" type="image/png" sizes="16x16" href={% static "favicon/favicon-16x16.png" %}>
|
|
|
|
|
|
{% block meta %}
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div
|
|
class="block_overlay {% if page_type == 'profile' %}hidden{% elif page_type == 'routes' %} routes n_profile hidden{% else %}hidden n_profile{% endif %}"
|
|
onclick="close_open_curtain()">
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
{# header#}
|
|
{% include 'blocks/b_header.html' %}
|
|
|
|
{#aside#}
|
|
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %} right"
|
|
onclick="reAdressClickOnbackrground(event,this)">
|
|
<div
|
|
class="menu_buttons curtain right {% if page_type == 'profile' %}padding_remove {% if not mobile %}open{% else %}close{% endif %}{% else %} n_profile close{% endif %}"
|
|
data-name="<img style='width: 15px;display: block;position: relative;bottom: 0;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'>">
|
|
|
|
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
|
<div class="handler_menu close" onclick="open_curtain_w_btn_profile()">
|
|
<img class="btns_f_curtain close left" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
|
<div class="text_f_curtain left"><img
|
|
style='width: 15px;display: block;position: relative;bottom: 0;transform: rotate(270deg);'
|
|
src='{% static "/img/svg/burger.svg" %}'></div>
|
|
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
|
<div class="clear_both"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{#content#}
|
|
{% block content %}
|
|
{% endblock %}
|
|
|
|
<div class="clear_both"></div>
|
|
|
|
</div>
|
|
|
|
{#footer#}
|
|
{% include 'blocks/b_footer.html' %}
|
|
|
|
{#before_close#}
|
|
<script>
|
|
let tz = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
if (!tz) {
|
|
tz = "UTC"
|
|
}
|
|
document.cookie = "user_tz=" + tz + ";path=/";
|
|
</script>
|
|
{% block before_close %}
|
|
{% endblock %}
|
|
</body>
|
|
</html> |