From 6198ccaa972bed6311785b1019894e8951e56269 Mon Sep 17 00:00:00 2001 From: borissedw Date: Tue, 29 Aug 2023 17:21:17 +0300 Subject: [PATCH] 0.0.195 --- static/css/styles(boris).css | 7 +++++++ static/js/dynamic_loading_routes.js | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index bb00b91..6983df4 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1475,4 +1475,11 @@ } .loader_f_loading_routes.show{ display: block; +} + +.line_separator_page_w_el{ + width: 100%; + border-bottom: 1px solid #919BA5; + margin-top: 30px; + margin-bottom: 30px; } \ No newline at end of file diff --git a/static/js/dynamic_loading_routes.js b/static/js/dynamic_loading_routes.js index 8d97fc3..5f35f71 100644 --- a/static/js/dynamic_loading_routes.js +++ b/static/js/dynamic_loading_routes.js @@ -1,5 +1,5 @@ let page_iterator = 2 - +let separator_iterator = 1 function load_routes (el) { let number_last_route = el.id @@ -80,8 +80,12 @@ function load_routes (el) { let new_page_routes = document.createElement("div") new_page_routes.classList.add("page_routes_" + page_iterator) $(new_page_routes).insertAfter(".page_routes_" + old_page_iterator); + let line_separator = document.createElement("div") + line_separator.classList.add("line_separator_page_w_el") + $(line_separator).insertAfter(".page_routes_" + separator_iterator); // document.querySelector(".info_profile").innerHTML = data.html; el.setAttribute("id",parseInt(number_last_route) + 11) + separator_iterator++ // number_last_route = parseInt(number_last_route) + "11" }, error: function (data){