This commit is contained in:
2023-08-15 17:36:46 +03:00
parent e9d4d71c9d
commit 3588bd14e3
3 changed files with 31 additions and 4 deletions

View File

@@ -1064,7 +1064,7 @@ form.new_route{
}
div.from_to_country>div>input:nth-child(3){
input#id_from_address_point_txt{
display: block;
border-radius: 15px;
border: 1px solid #E6E6E6;
@@ -1081,6 +1081,25 @@ div.from_to_country>div>input:nth-child(3){
margin-top: 10px;
}
input#id_to_address_point_txt{
display: block;
border-radius: 15px;
border: 1px solid #E6E6E6;
color: #272424;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
appearance: none;
background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center;
width: 392px;
height: 60px;
margin-top: 10px;
}
div.departure_arrival>div>input{

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="64px" height="64px" viewBox="0 0 128 128" xml:space="preserve"><script type="text/ecmascript" xlink:href="//faviconer.net/jscripts/smil.user.js"/><g><circle cx="16" cy="64" r="16" fill="#ff613a"/><circle cx="16" cy="64" r="14.344" fill="#ff613a" transform="rotate(45 64 64)"/><circle cx="16" cy="64" r="12.531" fill="#ff613a" transform="rotate(90 64 64)"/><circle cx="16" cy="64" r="10.75" fill="#ff613a" transform="rotate(135 64 64)"/><circle cx="16" cy="64" r="10.063" fill="#ff613a" transform="rotate(180 64 64)"/><circle cx="16" cy="64" r="8.063" fill="#ff613a" transform="rotate(225 64 64)"/><circle cx="16" cy="64" r="6.438" fill="#ff613a" transform="rotate(270 64 64)"/><circle cx="16" cy="64" r="5.375" fill="#ff613a" transform="rotate(315 64 64)"/><animateTransform attributeName="transform" type="rotate" values="0 64 64;315 64 64;270 64 64;225 64 64;180 64 64;135 64 64;90 64 64;45 64 64" calcMode="discrete" dur="720ms" repeatCount="indefinite"></animateTransform></g></svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="32px" height="32px" viewBox="0 0 128 128" xml:space="preserve"><script type="text/ecmascript" xlink:href="//faviconer.net/jscripts/smil.user.js"/><g><circle cx="16" cy="64" r="16" fill="#ff613a"/><circle cx="16" cy="64" r="16" fill="#ff967c" transform="rotate(45,64,64)"/><circle cx="16" cy="64" r="16" fill="#ffbdac" transform="rotate(90,64,64)"/><circle cx="16" cy="64" r="16" fill="#ffdfd8" transform="rotate(135,64,64)"/><circle cx="16" cy="64" r="16" fill="#ffece8" transform="rotate(180,64,64)"/><circle cx="16" cy="64" r="16" fill="#ffece8" transform="rotate(225,64,64)"/><circle cx="16" cy="64" r="16" fill="#ffece8" transform="rotate(270,64,64)"/><circle cx="16" cy="64" r="16" fill="#ffece8" transform="rotate(315,64,64)"/><animateTransform attributeName="transform" type="rotate" values="0 64 64;315 64 64;270 64 64;225 64 64;180 64 64;135 64 64;90 64 64;45 64 64" calcMode="discrete" dur="720ms" repeatCount="indefinite"></animateTransform></g></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -167,6 +167,8 @@ function confirmRemove(el) {
function searchTown(el){
document.getElementById('id_from_address_point_txt').style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
document.getElementById('id_to_address_point_txt').style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
if(el.value.length>=3){
let timer = null
@@ -193,8 +195,14 @@ function searchTown(el){
// enctype: 'json',
data: JSON.stringify(get_address_point),
success: function(data){
getNewMessageSession()
return insertSearchList(data, el.name + '_list')
document.getElementById('id_from_address_point_txt').style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
document.getElementById('id_to_address_point_txt').style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
getNewMessageSession()
return insertSearchList(data, el.name + '_list');
},
error: function (data){