diff --git a/BaseModels/OpenStreetMap/osm_api.py b/BaseModels/OpenStreetMap/osm_api.py index eb1e603..a7c9a63 100644 --- a/BaseModels/OpenStreetMap/osm_api.py +++ b/BaseModels/OpenStreetMap/osm_api.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import time import overpass @@ -233,7 +234,10 @@ def osm_get_country_w_cities_n_airports(country_Dict, area_id): cities = osm_get_cities_by_country(country_Dict) for city in cities: - print(f' > {city["name:en"]}') + try: + print(f' > {city["name:en"]}') + except Exception as e: + print(str(e)) if airports_Dict and 'error' in airports_Dict and airports_Dict['error'] == 'timeout': diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css new file mode 100644 index 0000000..a695aef --- /dev/null +++ b/static/css/styles(boris).css @@ -0,0 +1,96 @@ +/*tech support classes*/ + + +.title-support-cont{ + width: 100%; + text-align: center; + font-size: 44px; + font-weight: 700; + margin-bottom: 40px; + color: #000000; +} + +.container-sprt-inf{ + width: 100%; + height: 60px; +} + + +.send-ticket-suprt-btn{ + outline: none; + border: none; + color: #FFFFFF; + background: #FF613A; + width: 200px; + height: 60px; + border-radius: 10px; + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12); + +} + +.container-support-btn{ + width: 30%; + float: left; +} + +.container-sprt-inf-txt{ + width: 70%; + float: right; + color: #000000; + font-size: 16px; + padding-top: 20px; +} + +.container-requests-tech-sprt{ + width: 100%; + margin-top: 40px; +} + +.cont-req-tech-sup{ + color: #000000; + font-weight: 600; + font-size: 16px; + margin-bottom: 20px; +} + +.container-message-req-sprt{ + color: #000000; + width: 100%; + filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20)); + height: 20px; + background: #FFFFFF; + border-radius: 3px; + padding: 20px; + margin-bottom: 20px; +} + +.message-sprt-title{ + color: #272424; + font-size: 16px; + width: 50%; + /*padding-top: 20px;*/ + background: linear-gradient(45deg, #040404 33%, #c5c5c5 66%, #ffffff); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + float: left; +} + +.message-sprt-inf{ + width: 50%; + float: right; + text-align: right; +} + +.form-create-ticket{ + display: block; + width: 100%; +} + + +.el-form-create-ticket{ + width: 100%; + height: 60px; + background: #FFFFFF; + filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20)); + border-radius: 3px; +} \ No newline at end of file diff --git a/static/css/styles.css b/static/css/styles.css index 64c2910..13223f9 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -94,8 +94,15 @@ html, body{ height: 100%; } +/*uni-classes (boris)*/ +.text-align-center{ + text-align: center; +} + +/*uno classes end (boris)*/ + /*Стилизация radio button */ @@ -1217,3 +1224,7 @@ button.cancel_remove{ } /*my routes END*/ + + + + diff --git a/templates/blocks/profile/b_new_msg_to_support.html b/templates/blocks/profile/b_new_msg_to_support.html index 8447962..207ddbe 100644 --- a/templates/blocks/profile/b_new_msg_to_support.html +++ b/templates/blocks/profile/b_new_msg_to_support.html @@ -1 +1,28 @@ -
Тех поддрежка
\ No newline at end of file +{% load static %} + + +{#
Тех поддрежка
#} + + +
+
+

Техническая поддержка

+
+
+
+ +
+
Время работы технической поддержки: ежедневно с 9:00 до 17:00
+
+
+
Мои обращения:
+ + {% include "widgets/w_request_tech_support.html" %} + + {% include "widgets/w_request_tech_support.html" %} + + {% include "widgets/w_request_tech_support.html" %} + +
+ +
\ No newline at end of file diff --git a/templates/forms/f_create_ticket.html b/templates/forms/f_create_ticket.html new file mode 100644 index 0000000..ac64387 --- /dev/null +++ b/templates/forms/f_create_ticket.html @@ -0,0 +1,8 @@ +{% load static %} +
+ + +
\ No newline at end of file diff --git a/templates/tb_base.html b/templates/tb_base.html index fb396c8..67e656d 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -10,6 +10,8 @@ + + {% block meta %} diff --git a/templates/widgets/w_request_tech_support.html b/templates/widgets/w_request_tech_support.html new file mode 100644 index 0000000..0d24247 --- /dev/null +++ b/templates/widgets/w_request_tech_support.html @@ -0,0 +1,15 @@ +{% load static %} +
+
+ Текст последнего сообщени в чате (с размытием) +
+
+
+ Статус: Открыт + {# #} + 10.02.2023 +
+ +
+ +
\ No newline at end of file