Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -221,6 +221,7 @@
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
float: left;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.message-sprt-inf{
|
||||
|
||||
@@ -1895,6 +1895,7 @@ button#edit_route {
|
||||
position: absolute;
|
||||
height: -webkit-fill-available;
|
||||
width: -webkit-fill-available;
|
||||
width: -moz-available;
|
||||
}
|
||||
|
||||
#error_footer{
|
||||
|
||||
@@ -411,6 +411,19 @@ function onblurInputField(event,el){
|
||||
// }
|
||||
}
|
||||
|
||||
function clearID(el) {
|
||||
el.select();
|
||||
|
||||
if(el.id === 'id_from_address_point_txt'){
|
||||
document.getElementById('id_from_address_point').value = ''
|
||||
} else if(el.id === 'id_to_address_point_txt'){
|
||||
document.getElementById('id_to_address_point').value = ''
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// function hideErrorMsg(el) {
|
||||
// let hide_element = document.querySelector()
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
oninput="searchTown(this)"
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
onFocus="this.select()"
|
||||
onfocus="clearID(this)"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
minlength="3"
|
||||
@@ -159,7 +159,7 @@
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
|
||||
onFocus="this.select()"
|
||||
onfocus="clearID(this)"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
name="to_address_point_txt"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
oninput="searchTown(this)"
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
onFocus="this.select()"
|
||||
onfocus="clearID(this)"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
minlength="3"
|
||||
@@ -62,7 +62,7 @@
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
|
||||
onFocus="this.select()"
|
||||
onfocus="clearID(this)"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
name="to_address_point_txt"
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{% extends "tb_base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
@@ -24,6 +27,8 @@
|
||||
|
||||
<h2 id="title_static">{% translate "Читайте также:" %}</h2>
|
||||
|
||||
|
||||
|
||||
<div class="previous_next_news">
|
||||
{% for item in arts_top %}
|
||||
|
||||
@@ -39,7 +44,7 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{#<div>{{ art.text|safe }}</div>#}
|
||||
<div>{{ art.text|safe }}</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="news_item_static">
|
||||
@@ -66,7 +71,7 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{#<div>{{ art.text|safe }}</div>#}
|
||||
<div>{{ art.text|safe }}</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="news_description">
|
||||
{{ art.description|truncatechars:400 }}
|
||||
{# <div class="news_gradient"></div>#}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear_both"></div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user