This commit is contained in:
2023-11-30 17:43:25 +03:00
parent 7769608e03
commit 0dc3419651
3 changed files with 24 additions and 0 deletions

View File

@@ -1882,6 +1882,16 @@ button#edit_route {
.remove_route.hide{
display: none;
}
.msg_send{
font-size: 24px;
text-align: center;
font-weight: 700;
background: #FFFFFF;
box-shadow: -1px 4px 10px 0px rgba(198, 199, 203, 0.20), 0px -1px 10px 0px rgba(198, 199, 203, 0.20);
}
.msg_send.hide{
display: none;
}
button.confirm_remove{

View File

@@ -212,6 +212,12 @@ function cancelRemove(route_id) {
// remove_button.removeEventListener('click', removeRoute);
}
function hideBlock(el) {
el.classList.add('hide')
}
function confirmRemove(el, route_id) {

View File

@@ -0,0 +1,8 @@
{% load static %}
{% load i18n %}
<div
onclick="hideBlock(this)"
class="msg_send">
{% translate 'Ваше сообщение отправлено' %}
</div>