0.0.75
This commit is contained in:
@@ -1090,12 +1090,7 @@ div.departure_arrival>div>input{
|
||||
display: none;
|
||||
}
|
||||
|
||||
select#id_cargo_type{
|
||||
height: 120px;
|
||||
background: none;
|
||||
overflow: auto;
|
||||
width: 193px;
|
||||
}
|
||||
|
||||
|
||||
div.from_to_place>div>select{
|
||||
width: 392px;
|
||||
@@ -1127,12 +1122,12 @@ input#id_extra_phone
|
||||
/* line-height: 22px;*/
|
||||
/*}*/
|
||||
.checkbox_cargo_type{
|
||||
display: flex;
|
||||
display: block;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
input#id_cargo_type{
|
||||
width: 50%;
|
||||
}
|
||||
/*input#id_cargo_type{*/
|
||||
/* width: 50%;*/
|
||||
/*}*/
|
||||
|
||||
.errorlist.hide {
|
||||
display: none;
|
||||
@@ -1233,7 +1228,7 @@ input#id_cargo_type{
|
||||
button#edit_route {
|
||||
display: block;
|
||||
height: 44px;
|
||||
width: 86%;
|
||||
width: 76%;
|
||||
background: #FF613A;
|
||||
color: #FFF;
|
||||
font-family: Inter;
|
||||
|
||||
@@ -228,6 +228,19 @@ function onblurInputField(event,el){
|
||||
//
|
||||
// }
|
||||
|
||||
function sliderInit() {
|
||||
$('#id_weight').ionRangeSlider({
|
||||
skin: "round",
|
||||
type: "single",
|
||||
min: 0,
|
||||
max: 1000,
|
||||
from: 0,
|
||||
step: 1,
|
||||
grid: true,
|
||||
grid_num: 5,
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function sendRoute(el, routeID = null){
|
||||
event.preventDefault()
|
||||
@@ -258,17 +271,10 @@ function sendRoute(el, routeID = null){
|
||||
error: function (data, exception){
|
||||
document.querySelector(".info_profile").innerHTML = data.responseJSON.html;
|
||||
|
||||
sliderInit();
|
||||
|
||||
|
||||
|
||||
$('#id_weight').ionRangeSlider({
|
||||
skin: "round",
|
||||
type: "single",
|
||||
min: 0,
|
||||
max: 1000,
|
||||
step: 1,
|
||||
grid: true,
|
||||
grid_num: 5,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -304,16 +310,7 @@ function OnSelectionChange(el) {
|
||||
document.querySelector(".info_profile").innerHTML = data.html
|
||||
//
|
||||
|
||||
$('#id_weight').ionRangeSlider({
|
||||
skin: "round",
|
||||
type: "single",
|
||||
min: 0,
|
||||
max: 1000,
|
||||
from: 0,
|
||||
step: 1,
|
||||
grid: true,
|
||||
grid_num: 5,
|
||||
});
|
||||
sliderInit();
|
||||
|
||||
}
|
||||
});
|
||||
@@ -339,19 +336,7 @@ 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: 100,
|
||||
step: 1,
|
||||
grid: true,
|
||||
grid_num: 5,
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
//get dynamic value
|
||||
// let fromCountry = document.getElementById('id_from_country');
|
||||
@@ -413,6 +398,9 @@ function getRoute(){
|
||||
// location.href = '/profile'
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
|
||||
sliderInit();
|
||||
|
||||
|
||||
|
||||
},
|
||||
error: function (data, exception) {
|
||||
@@ -428,3 +416,7 @@ function getRoute(){
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user