diff --git a/static/css/styles.css b/static/css/styles.css index bac6fc4..d1b946a 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -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{ diff --git a/static/js/user_profile.js b/static/js/user_profile.js index d63af45..8fcc532 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -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) { diff --git a/templates/widgets/w_msg_send_succes.html b/templates/widgets/w_msg_send_succes.html new file mode 100644 index 0000000..9f12942 --- /dev/null +++ b/templates/widgets/w_msg_send_succes.html @@ -0,0 +1,8 @@ +{% load static %} +{% load i18n %} + +