0.0.21 buf gix registration

This commit is contained in:
2023-07-19 17:16:46 +03:00
parent 7c320d2709
commit 0866e605e6
6 changed files with 63 additions and 8 deletions

View File

@@ -917,6 +917,11 @@ form.new_route>div{
flex-direction: row;
flex-wrap: wrap;
}
form.new_route>div.range-slider{
margin-bottom: 30px;
margin-top: 30px;
display: block;
}
form.new_route{
width:100%;

View File

@@ -15,6 +15,20 @@ function createRoute(){
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html
$(document).ready(function (e){
$('#id_weight').ionRangeSlider({
skin: "round",
type: "single",
min: 0,
max: 1000,
from: 500,
step: 1,
grid: true,
grid_num: 5,
});
});
//get dynamic value
// let fromCountry = document.getElementById('id_from_country');
// let toCounytry = document.getElementById('id_to_country')

View File

@@ -19,7 +19,7 @@ function sendRoute(el){
document.querySelector(".info_profile").innerHTML = data.html
},
error: function (data, exception){
document.querySelector(".button_register").innerHTML = data.responseJSON.html
document.querySelector(".info_profile").innerHTML = data.responseJSON.html
}
});
}