Compare commits
21 Commits
feature/su
...
0ce03ca73f
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ce03ca73f | |||
| 80a226a302 | |||
| 0d41bd40e5 | |||
| d2fe96a599 | |||
| d0d41a4d2b | |||
| 5e7a153d6d | |||
| 55d414c1d0 | |||
| ac6a440151 | |||
| ff48ca83e2 | |||
| 358577745f | |||
| 087a913a48 | |||
| a9dedb7869 | |||
| 92e3d76b7e | |||
| 2da7195dd0 | |||
| 18f7fedbc2 | |||
| aa93813ba5 | |||
| def3d770ed | |||
| 6b8bcb8ebb | |||
| ff5afe518a | |||
| 6f42251f5f | |||
| 06917078ae |
@@ -47,7 +47,7 @@ class Admin_StaticPage(Admin_Trans_BaseModelViewPage):
|
||||
if request.user.is_superuser:
|
||||
return True
|
||||
|
||||
if obj.url in ('main', 'spec_technics', 'works'):
|
||||
if not obj or obj.url in ('main', 'works'):
|
||||
return False
|
||||
|
||||
admin.site.register(StaticPage,Admin_StaticPage)
|
||||
|
||||
@@ -121,6 +121,10 @@
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.dropdown{
|
||||
vertical-align: sub;
|
||||
}
|
||||
|
||||
.handler_curtain_left{
|
||||
display: block;
|
||||
}
|
||||
@@ -136,6 +140,10 @@
|
||||
transition: 200ms;
|
||||
}
|
||||
|
||||
.unsubscribe_info {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.container_content_handler_curtain_left{
|
||||
display: flex;
|
||||
rotate: 90deg;
|
||||
@@ -254,7 +262,7 @@
|
||||
}
|
||||
|
||||
header{
|
||||
padding: 5px 16px;
|
||||
padding: 3px 16px;
|
||||
margin-top: unset;
|
||||
}
|
||||
.header_logo, .header_btn_mover, .header_btn_sender{
|
||||
@@ -386,11 +394,14 @@
|
||||
margin-left: 5px;
|
||||
}
|
||||
.header_logo_mobile {
|
||||
margin-right: 37px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.line_f_header{
|
||||
top: 43px;
|
||||
}
|
||||
header .header-second{
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.self_news_img{
|
||||
width: 40%;
|
||||
@@ -495,6 +506,8 @@
|
||||
.footer_logo{
|
||||
text-align: center;
|
||||
margin: 40px 0;
|
||||
max-width: 90px;
|
||||
margin-left: 40%;
|
||||
}
|
||||
|
||||
.footer_text_sub{
|
||||
|
||||
@@ -2201,7 +2201,7 @@ a.open_inf_carrier{
|
||||
height: 1px;
|
||||
background: #dad7d7;
|
||||
width: 100%;
|
||||
top: 60px;
|
||||
top: 100px;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
|
||||
@@ -299,7 +299,8 @@ section.register>h1 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.footer_logo{
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 20px;
|
||||
max-width: 45px;
|
||||
}
|
||||
|
||||
footer>div {
|
||||
@@ -502,10 +503,12 @@ footer>div {
|
||||
|
||||
header .header-first {
|
||||
float: left;
|
||||
margin-top: 12px;
|
||||
/*margin-top: 12px;*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.header_logo_mobile{
|
||||
display: none;
|
||||
}
|
||||
@@ -663,6 +666,7 @@ header>div>a>span{
|
||||
|
||||
header .header-second {
|
||||
float: right;
|
||||
margin-top: 20px;
|
||||
|
||||
}
|
||||
|
||||
@@ -2620,6 +2624,17 @@ button#send_feedback_form:active{
|
||||
/* display: block;*/
|
||||
/*}*/
|
||||
|
||||
.unsubscribe_info {
|
||||
color: #27242499;
|
||||
font-size: 12px;
|
||||
margin-top: 5px;
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.tab-btn-1,
|
||||
.tab-btn-2 {
|
||||
display: inline-block;
|
||||
|
||||
BIN
static/img/1234.png
Normal file
BIN
static/img/1234.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
BIN
static/img/png/finlogo.png
Normal file
BIN
static/img/png/finlogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
static/img/png/new_logo_test.png
Normal file
BIN
static/img/png/new_logo_test.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 20 KiB |
@@ -6,12 +6,14 @@ function update_count_unread_messages (data) {
|
||||
let list_unrd_parent = document.querySelectorAll(".icon_unread_messages")
|
||||
let i = 0
|
||||
for (i;i < list_unrd.length;i++){
|
||||
|
||||
if (!list_unrd_parent[i].classList.contains("showed")){
|
||||
list_unrd_parent[i].classList.toggle("showed")
|
||||
}
|
||||
|
||||
list_unrd[i].innerHTML = data.unread_msgs_count.toString()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function play_required_beep (data,beep) {
|
||||
|
||||
@@ -78,15 +78,15 @@
|
||||
<div class="sf_1_column">Copyright © 2023. {% trans "Все права защищены." %}</div>
|
||||
|
||||
<div class="sf_2_column">
|
||||
<a href="/ru/info_page/publichnaya-oferta/">{% trans "Публичная оферта" %}</a>
|
||||
<a href="/{{ request.LANGUAGE_CODE }}/info_page/publichnaya-oferta/">{% trans "Публичная оферта" %}</a>
|
||||
</div>
|
||||
|
||||
<div class="sf_3_column">
|
||||
<a href="/ru/info_page/politika-konfidencialnosti/">{% trans "Политика конфиденциальности" %}</a>
|
||||
<a href="/{{ request.LANGUAGE_CODE }}/info_page/politika-konfidencialnosti/">{% trans "Политика конфиденциальности" %}</a>
|
||||
</div>
|
||||
|
||||
<div class="sf_4_column">
|
||||
<a href="/ru/info_page/pravila-polzovaniya-servisom/">{% trans "Правила пользования сервисом" %}</a>
|
||||
<a href="/{{ request.LANGUAGE_CODE }}/info_page/pravila-polzovaniya-servisom/">{% trans "Правила пользования сервисом" %}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<div class="header-first">
|
||||
<div class="header_logo">
|
||||
<a href="{% url 'main' %}">
|
||||
<img class="svg" src="/static/img/svg/Logo.svg">
|
||||
<img class="svg" src="/static/img/png/finlogo.png" style="height: 90px;">
|
||||
</a>
|
||||
</div>
|
||||
<div class="header_logo_mobile">
|
||||
{# <a href="/"><img class="svg" src="/static/img/svg/LogoMobile.svg"></a>#}
|
||||
<a href="{% url 'main' %}"><img class="svg" src="/static/img/svg/LogoMobile.svg"></a>
|
||||
<a href="{% url 'main' %}"><img class="svg" src="/static/img/png/finlogo.png" style="height: 30px;"></a>
|
||||
</div>
|
||||
|
||||
<div class="dropdown">
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
<button class="confirm_profile_btn" onclick="change_profile_confirm(this)">
|
||||
<p id="save_changes_txt">
|
||||
{% translate "Сохарнить" %}
|
||||
{% translate "Сохранить" %}
|
||||
</p>
|
||||
<p id="changes_saved_txt">
|
||||
{% translate "Изменения сохранены" %}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<div class="title_subscribe">{% translate "Ваш тарифный план" %}</div>
|
||||
<div class="name_subscribe">{{ subscribe_for_user.subscribe.name }}</div>
|
||||
<button class="extend_subscribe_btn">{% translate "Продлить" %}</button>
|
||||
<div class="unsubscribe_info">*{% translate "для отмены подписки создайте запрос в техподдерже" %}</div>
|
||||
<div class="subscribe_was_paid">{% translate "оплачен до:" %} {{ subscribe_for_user.paid_period_to_DT|date:"d.m.y" }}</div>
|
||||
</div>
|
||||
<div class="wrapper_switch_cont">
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
</div>
|
||||
<div class="text-align-center">
|
||||
<button onclick="send_subscribe({{ subscribe.id }})" class="arrange_subscribe">{% translate "Оформить подписку" %}</button>
|
||||
<div class="unsubscribe_info">*{% translate "для отмены подписки создайте запрос в техподдерже" %}</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<div class="form_wrapper">
|
||||
{% if page.url == 'contacts' or page.url == 'about_service' %}
|
||||
<div id=title_static>{% blocktrans %}Мы всегда на <span class="color_title">связи</span>!{% endblocktrans %}</div>
|
||||
<div id=title_static>{% blocktrans %}Мы всегда на <span class="color_title">связи!</span>{% endblocktrans %}</div>
|
||||
<span id="sub_title_static">{% translate "У вас есть вопрос? Отправьте нам сообщение" %}</span>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% if page.url == 'contacts' or page.url == 'about_service' %}
|
||||
<div id=title_static>{% blocktrans %}Мы всегда на <span class="color_title">связи</span>!{% endblocktrans %}</div>
|
||||
<div id=title_static>{% blocktrans %}Мы всегда на <span class="color_title">связи!</span>{% endblocktrans %}</div>
|
||||
<span id="sub_title_static">{% translate "У вас есть вопрос? Отправьте нам сообщение" %}</span>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<h2 id="title_static">{% translate "О сервисе Trip With Bonus" %}</h2>
|
||||
<span id="sub_title_static">
|
||||
<p>
|
||||
{% translate "TWB — это сервис, созданный для того, чтобы отправитель и перевозчик нашли друг-друга!" %}
|
||||
{% translate "TripWithBonus — это сервис, созданный для того, чтобы отправитель и перевозчик нашли друг-друга!" %}
|
||||
{% translate "Наш сервис предлагает вам прямые контакты, а не является посредником!" %}
|
||||
</p>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user