diff --git a/AuthApp/js_views.py b/AuthApp/js_views.py index 9d7cdd0..59af0b5 100644 --- a/AuthApp/js_views.py +++ b/AuthApp/js_views.py @@ -550,7 +550,7 @@ def my_routes_ajax(request): Dict = { } - html = render_to_string('blocks/profile/b_my_routes.html', Dict, request=request) + html = render_to_string('v2/blocks/b_my_routes.html', Dict, request=request) res_Dict = {'html': html} from GeneralApp.funcs import get_add_to_ajax_response_Dict res_Dict.update(get_add_to_ajax_response_Dict(request.user)) diff --git a/RoutesApp/funcs.py b/RoutesApp/funcs.py index 7aadbd9..7034c36 100644 --- a/RoutesApp/funcs.py +++ b/RoutesApp/funcs.py @@ -149,7 +149,7 @@ def get_profile_my_routes_page_content_html(request): if user_subscribe: routes_Dict.update(user_subscribe.remains_route_adding_options()) - html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request) + html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request) return html diff --git a/RoutesApp/js_views.py b/RoutesApp/js_views.py index 3773417..ff8e366 100644 --- a/RoutesApp/js_views.py +++ b/RoutesApp/js_views.py @@ -133,7 +133,7 @@ def del_route_ajax(request): if 'errors' in routes_Dict: return JsonResponse(routes_Dict, status=400) - html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request) + html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request) res_Dict = { 'html': html @@ -324,7 +324,7 @@ def get_my_routes_ajax(request): routes_Dict.update(user_subscribe.remains_route_adding_options()) - html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request) + html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request) res_Dict = { 'html': html @@ -457,7 +457,7 @@ def create_or_change_route_ajax(request, route_id=None): html = render_to_string(tpl_form_by_owner_type, Dict, request=request) return JsonResponse({'html': html}, status=400) - html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request) + html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request) res_Dict = { 'html': html, diff --git a/static/v2/css/widgets/w_route_card.css b/static/v2/css/widgets/w_route_card.css index 7607a2a..1dc8d72 100644 --- a/static/v2/css/widgets/w_route_card.css +++ b/static/v2/css/widgets/w_route_card.css @@ -6,6 +6,8 @@ --route-text-container-bg: #F1F1F1; --route-text-container-padding: 15px; + --route-text-container-margin: 7px 0 0 51px; + --route-text-container-border-radius: 10px; --route-text-img-filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(256%) hue-rotate(113deg) brightness(115%) contrast(89%); --route-card-owner-avatar-size: 52px; @@ -17,19 +19,27 @@ position: relative; .route_card_text_img{ position: absolute; - top: 25px; + top: 5px; + left: 0; filter: var(--route-text-img-filter); display: block; + z-index: 1; } .route_card_owner_avatar{ height: var(--route-card-owner-avatar-size); width: var(--route-card-owner-avatar-size); border-radius: 100%; display: block; + position: absolute; + top: 11px; + left: 6px; + z-index: 10; } .route_card_text_container{ background: var(--route-text-container-bg); padding: var(--route-text-container-padding); + margin: var(--route-text-container-margin); + border-radius: var(--route-text-container-border-radius); } .route_card_owner_info{ margin-left: 75px; diff --git a/static/v2/icons/widgets/w_route_card/route_card_avatar_spline.svg b/static/v2/icons/widgets/w_route_card/route_card_avatar_spline.svg index 99bbe9a..9907336 100644 Binary files a/static/v2/icons/widgets/w_route_card/route_card_avatar_spline.svg and b/static/v2/icons/widgets/w_route_card/route_card_avatar_spline.svg differ