0.0.44 w route card

This commit is contained in:
SBD
2025-01-17 19:43:35 +03:00
parent 34ef2f23b7
commit b3f4eec2e9
3 changed files with 31 additions and 4 deletions

View File

@@ -34,6 +34,9 @@
--route-btn-title-color: #272424;
--route-btn-text-data-color: #27242499;
--route-date-data-justify: center;
--route-date-data-margin: 4px 0 0 0;
background: var(--route-card-bg);
margin: var(--route-card-margin);
box-shadow: var(--route-card-box_shadow);
@@ -64,6 +67,7 @@
padding: var(--route-text-container-padding);
margin: var(--route-text-container-margin);
border-radius: var(--route-text-container-border-radius);
font-size: var(--big-font-size);
}
.route_card_owner_info{
height: 47px;
@@ -134,7 +138,7 @@
gap: 5px;
img{
width: 24px;
width: 16px;
height: 12px;
display: block;
object-fit: contain;
@@ -172,6 +176,7 @@
.way_progress_line_container{
position: relative;
width: 100%;
height: 15px;
.way_progress_round{
height: 20px;
width: 20px;
@@ -278,5 +283,21 @@
font-size: var(--small-font-size);
color: var(--route-btn-text-data-color);
}
img{
min-width: 16px;
display: block;
}
}
.route_date_data{
display: flex;
align-items: center;
gap: 5px;
justify-content: var(--route-date-data-justify);
margin: var(--route-date-data-margin);
font-size: var(--medium-font-size);
width: 100%;
.date_data_value{
font-weight: 600;
}
}
}

View File

@@ -8,7 +8,7 @@ function changeRoute(el) {
'owner_type': $parent.dataset.owner_type,
}
let request = new api({
url: '/routes/create_or_change_route/',
url: '/routes/edit_route/',
data: data,
data_type: 'json',
success: (res) => {