From 0dc3419651e94067fc744aeb54f8a2a457dd2e9c Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 30 Nov 2023 17:43:25 +0300 Subject: [PATCH] 0.0.281 --- static/css/styles.css | 10 ++++++++++ static/js/user_profile.js | 6 ++++++ templates/widgets/w_msg_send_succes.html | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100644 templates/widgets/w_msg_send_succes.html 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 %} + +
+ {% translate 'Ваше сообщение отправлено' %} +
\ No newline at end of file