diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 69f3aab..51c8f8b 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1240,7 +1240,7 @@ .not_found_routes{ width: 96%; - height: 250px; + min-height: 250px; background: #FFFFFF; box-shadow: -1px 4px 10px 0 rgba(198, 199, 203, 0.20), 0 -1px 10px 0 rgba(198, 199, 203, 0.20); position: relative; diff --git a/static/css/styles.css b/static/css/styles.css index 9ae570b..c8e553c 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -772,6 +772,20 @@ span.btn_profile_name { display: block; } +#create_route{ + border-radius: 10px; + color: #FFFFFF; + background: #FF613A; + /*height: 60px;*/ + font-size: 18px; + font-weight: 500; + width: 100%; + margin-top: 10px; + display: inline-block; + + padding: 15px 0px; +} + /* Change color of dropdown links on hover */ .dropdown-content-lang a:hover {background-color: #f1f1f1} @@ -2055,6 +2069,26 @@ button.cancel_remove.show, button.confirm_remove.show{ /*Static_pages*/ + +.not_found_wrap{ + padding-top: 20px; +} + +.not_found_text{ + text-align: center; + + font-style: normal; + font-weight: 700; + line-height: 52px; + margin-bottom: 20px; +} +.not_found_title{ + font-size: 60px; +} +.not_found_sub_title{ + font-size: 26px; +} + #title_static{ text-align: center; font-size: 44px; diff --git a/templates/404.html b/templates/404.html index 5802032..a44afca 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,8 +1,27 @@ {% extends "tb_base.html" %} - +{% load i18n %} {% block content %} - 404 +
+
+
+ 404 +
+
+ {% translate "Страница не найдена" %} +
+
+ + +
+ + {% translate "Вернуться на главную" %} + +
+
{% endblock %} \ No newline at end of file diff --git a/templates/blocks/b_finded_routes.html b/templates/blocks/b_finded_routes.html index dea6b3d..ce69d64 100644 --- a/templates/blocks/b_finded_routes.html +++ b/templates/blocks/b_finded_routes.html @@ -11,8 +11,43 @@
{% blocktranslate %} Упс... Ничего не найдено, попробуйте - изменить параметры поиска + изменить параметры поиска или создайте своё собственное объявление, чтобы все могли найти {% endblocktranslate %} + + {% if owner_type == "mover" %} + {% translate "Отправителя" %} + {% elif owner_type == "customer" %} + {% translate "Перевозчика" %} + {% endif %} + + + + + {% if user.is_authenticated %} + + {% translate "Создать объявление" %} + + + {% endif %} + + {% if not user.is_authenticated %} + + {% translate " Войти и Создать объявление" %} + + + + {% endif %} +
diff --git a/templates/tb_base.html b/templates/tb_base.html index 4d31ca7..1ea0ba6 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -107,7 +107,7 @@ {% endif %} -
+
{% block content %} {% endblock %}