0.0.1
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import overpass
|
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)
|
cities = osm_get_cities_by_country(country_Dict)
|
||||||
for city in cities:
|
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':
|
if airports_Dict and 'error' in airports_Dict and airports_Dict['error'] == 'timeout':
|
||||||
|
|
||||||
|
|||||||
96
static/css/styles(boris).css
Normal file
96
static/css/styles(boris).css
Normal file
@@ -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;
|
||||||
|
}
|
||||||
@@ -94,8 +94,15 @@ html, body{
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*uni-classes (boris)*/
|
||||||
|
|
||||||
|
|
||||||
|
.text-align-center{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*uno classes end (boris)*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*Стилизация radio button */
|
/*Стилизация radio button */
|
||||||
@@ -1217,3 +1224,7 @@ button.cancel_remove{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*my routes END*/
|
/*my routes END*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,28 @@
|
|||||||
<div>Тех поддрежка</div>
|
{% load static %}
|
||||||
|
|
||||||
|
|
||||||
|
{#<div>Тех поддрежка</div>#}
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div class="title-support-cont">
|
||||||
|
<h1>Техническая поддержка</h1>
|
||||||
|
</div>
|
||||||
|
<div class="container-sprt-inf">
|
||||||
|
<div class="container-support-btn">
|
||||||
|
<button class="send-ticket-suprt-btn">Создать тикет</button>
|
||||||
|
</div>
|
||||||
|
<div class="container-sprt-inf-txt">Время работы технической поддержки: ежедневно с 9:00 до 17:00</div>
|
||||||
|
</div>
|
||||||
|
<div class="container-requests-tech-sprt">
|
||||||
|
<div class="cont-req-tech-sup">Мои обращения:</div>
|
||||||
|
|
||||||
|
{% include "widgets/w_request_tech_support.html" %}
|
||||||
|
|
||||||
|
{% include "widgets/w_request_tech_support.html" %}
|
||||||
|
|
||||||
|
{% include "widgets/w_request_tech_support.html" %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
8
templates/forms/f_create_ticket.html
Normal file
8
templates/forms/f_create_ticket.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{% load static %}
|
||||||
|
<form class="form-create-ticket" name="create-ticket">
|
||||||
|
<select
|
||||||
|
name="choise_departement"
|
||||||
|
class="el-form-create-ticket">
|
||||||
|
</select>
|
||||||
|
<input type="text">
|
||||||
|
</form>
|
||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{% static 'css/styles(boris).css' %}">
|
||||||
|
|
||||||
|
|
||||||
{% block meta %}
|
{% block meta %}
|
||||||
|
|
||||||
|
|||||||
15
templates/widgets/w_request_tech_support.html
Normal file
15
templates/widgets/w_request_tech_support.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{% load static %}
|
||||||
|
<div class="container-message-req-sprt">
|
||||||
|
<div class="message-sprt-title">
|
||||||
|
<span>Текст последнего сообщени в чате (с размытием)</span>
|
||||||
|
</div>
|
||||||
|
<div class="message-sprt-inf">
|
||||||
|
<div>
|
||||||
|
<span>Статус: Открыт</span>
|
||||||
|
{# <img>#}
|
||||||
|
<span>10.02.2023</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user