19 Commits

Author SHA1 Message Date
0d41bd40e5 0.0.4 fix text for about page 2024-04-02 13:48:11 +03:00
d2fe96a599 0.0.4 center footer logo 2024-04-02 13:06:42 +03:00
d0d41a4d2b 0.0.3 replace footer logo max-width desktop 2024-04-02 10:44:46 +03:00
5e7a153d6d 0.0.3 replace footer logo max-width desktop 2024-04-02 10:40:04 +03:00
55d414c1d0 0.0.3 replace footer logo max-width desktop 2024-04-02 10:37:45 +03:00
ac6a440151 0.0.3 replace footer logo max-width desktop 2024-04-02 10:32:58 +03:00
ff48ca83e2 0.0.2 replace footer logo max-width 2024-04-02 10:27:09 +03:00
358577745f 0.0.2 replace Logo in footer 2024-04-02 10:14:45 +03:00
087a913a48 0.0.2 replace word in contact form about service 2024-04-02 09:42:13 +03:00
a9dedb7869 0.0.1 replace twb to tripwithbonus on main page 2024-04-02 09:31:58 +03:00
SDE
92e3d76b7e 0.12.27 fix auth 2024-03-27 12:59:38 +03:00
2da7195dd0 0.1.365 add img 2024-03-15 15:38:42 +03:00
18f7fedbc2 0.1.365 add img 2024-03-15 15:37:10 +03:00
aa93813ba5 0.1.364 add new logo fix old css 2024-03-15 15:35:58 +03:00
def3d770ed 0.1.363 add new logo 2024-03-08 16:07:51 +03:00
6b8bcb8ebb 0.1.363 fix misspell 2024-03-07 19:47:50 +03:00
SBD
ff5afe518a 14 2024-03-06 18:22:48 +03:00
SBD
6f42251f5f Merge remote-tracking branch 'origin/main' 2024-03-06 18:11:58 +03:00
SBD
06917078ae 14 2024-03-06 18:11:46 +03:00
15 changed files with 57 additions and 20 deletions

View File

@@ -47,7 +47,7 @@ class Admin_StaticPage(Admin_Trans_BaseModelViewPage):
if request.user.is_superuser: if request.user.is_superuser:
return True return True
if obj.url in ('main', 'spec_technics', 'works'): if not obj or obj.url in ('main', 'works'):
return False return False
admin.site.register(StaticPage,Admin_StaticPage) admin.site.register(StaticPage,Admin_StaticPage)

View File

@@ -121,6 +121,10 @@
width: 70%; width: 70%;
} }
.dropdown{
vertical-align: sub;
}
.handler_curtain_left{ .handler_curtain_left{
display: block; display: block;
} }
@@ -254,7 +258,7 @@
} }
header{ header{
padding: 5px 16px; padding: 3px 16px;
margin-top: unset; margin-top: unset;
} }
.header_logo, .header_btn_mover, .header_btn_sender{ .header_logo, .header_btn_mover, .header_btn_sender{
@@ -386,11 +390,14 @@
margin-left: 5px; margin-left: 5px;
} }
.header_logo_mobile { .header_logo_mobile {
margin-right: 37px; margin-right: 20px;
} }
.line_f_header{ .line_f_header{
top: 43px; top: 43px;
} }
header .header-second{
margin-top: 3px;
}
.self_news_img{ .self_news_img{
width: 40%; width: 40%;
@@ -495,6 +502,8 @@
.footer_logo{ .footer_logo{
text-align: center; text-align: center;
margin: 40px 0; margin: 40px 0;
max-width: 90px;
margin-left: 40%;
} }
.footer_text_sub{ .footer_text_sub{

View File

@@ -2201,7 +2201,7 @@ a.open_inf_carrier{
height: 1px; height: 1px;
background: #dad7d7; background: #dad7d7;
width: 100%; width: 100%;
top: 60px; top: 100px;
z-index: 999; z-index: 999;
} }

View File

@@ -299,7 +299,8 @@ section.register>h1 {
margin-bottom: 10px; margin-bottom: 10px;
} }
.footer_logo{ .footer_logo{
margin-bottom: 40px; margin-bottom: 20px;
max-width: 45px;
} }
footer>div { footer>div {
@@ -502,7 +503,7 @@ footer>div {
header .header-first { header .header-first {
float: left; float: left;
margin-top: 12px; /*margin-top: 12px;*/
} }
@@ -663,6 +664,7 @@ header>div>a>span{
header .header-second { header .header-second {
float: right; float: right;
margin-top: 20px;
} }

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

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

View File

@@ -6,10 +6,12 @@ function update_count_unread_messages (data) {
let list_unrd_parent = document.querySelectorAll(".icon_unread_messages") let list_unrd_parent = document.querySelectorAll(".icon_unread_messages")
let i = 0 let i = 0
for (i;i < list_unrd.length;i++){ for (i;i < list_unrd.length;i++){
if (!list_unrd_parent[i].classList.contains("showed")){ if (!list_unrd_parent[i].classList.contains("showed")){
list_unrd_parent[i].classList.toggle("showed") list_unrd_parent[i].classList.toggle("showed")
list_unrd[i].innerHTML = data.unread_msgs_count.toString()
} }
list_unrd[i].innerHTML = data.unread_msgs_count.toString()
} }
} }
} }

View File

@@ -78,15 +78,15 @@
<div class="sf_1_column">Copyright © 2023. {% trans "Все права защищены." %}</div> <div class="sf_1_column">Copyright © 2023. {% trans "Все права защищены." %}</div>
<div class="sf_2_column"> <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>
<div class="sf_3_column"> <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>
<div class="sf_4_column"> <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>
</div> </div>

View File

@@ -7,12 +7,12 @@
<div class="header-first"> <div class="header-first">
<div class="header_logo"> <div class="header_logo">
<a href="{% url 'main' %}"> <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> </a>
</div> </div>
<div class="header_logo_mobile"> <div class="header_logo_mobile">
{# <a href="/"><img class="svg" src="/static/img/svg/LogoMobile.svg"></a>#} {# <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>
<div class="dropdown"> <div class="dropdown">

View File

@@ -67,7 +67,7 @@
</div> </div>
<button class="confirm_profile_btn" onclick="change_profile_confirm(this)"> <button class="confirm_profile_btn" onclick="change_profile_confirm(this)">
<p id="save_changes_txt"> <p id="save_changes_txt">
{% translate "Сохарнить" %} {% translate "Сохранить" %}
</p> </p>
<p id="changes_saved_txt"> <p id="changes_saved_txt">
{% translate "Изменения сохранены" %} {% translate "Изменения сохранены" %}

View File

@@ -61,7 +61,7 @@
<div class="form_wrapper"> <div class="form_wrapper">
{% if page.url == 'contacts' or page.url == 'about_service' %} {% 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> <span id="sub_title_static">{% translate "У вас есть вопрос? Отправьте нам сообщение" %}</span>
{% endif %} {% endif %}

View File

@@ -1,7 +1,7 @@
{% load i18n %} {% load i18n %}
{% if page.url == 'contacts' or page.url == 'about_service' %} {% 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> <span id="sub_title_static">{% translate "У вас есть вопрос? Отправьте нам сообщение" %}</span>
{% endif %} {% endif %}

View File

@@ -58,7 +58,7 @@
<h2 id="title_static">{% translate "О сервисе Trip With Bonus" %}</h2> <h2 id="title_static">{% translate "О сервисе Trip With Bonus" %}</h2>
<span id="sub_title_static"> <span id="sub_title_static">
<p> <p>
{% translate "TWB — это сервис, созданный для того, чтобы отправитель и перевозчик нашли друг-друга!" %} {% translate "TripWithBonus — это сервис, созданный для того, чтобы отправитель и перевозчик нашли друг-друга!" %}
{% translate "Наш сервис предлагает вам прямые контакты, а не является посредником!" %} {% translate "Наш сервис предлагает вам прямые контакты, а не является посредником!" %}
</p> </p>
</span> </span>