diff --git a/static/js/_.js b/static/js/_.js
index 68f0700..679f5c4 100644
--- a/static/js/_.js
+++ b/static/js/_.js
@@ -172,9 +172,11 @@ $(document).ready(function () {
function selectCity() {
var city = $('#id_city').val();
var deliv = $('#id_deliv_type').val();
- var cart_itogo = $('#cart-itogo').html();
- var order_itogo = $('#order-itogo-amount');
+ var cart_itogo = $('#cart-itogo');
var order_itogo_delivery = $('#order-itogo-delivery');
+ var order_itogo = $('#order-itogo-amount');
+ var order_itogo_up = $('#order-itogo-amount-up');
+ var order_itogo_delivery_up = $('#order-itogo-delivery-up');
if (city && deliv) {
$.ajax({
@@ -188,11 +190,20 @@ $(document).ready(function () {
})
.done(function (msg) {
order_itogo.html(
- parseFloat(msg.AmountPlusFSAmount) + parseFloat(cart_itogo)
+ parseFloat(msg.AmountPlusFSAmount) + parseFloat(cart_itogo.html())
+ );
+ order_itogo_up.html(
+ parseFloat(msg.AmountPlusFSAmount) + parseFloat(cart_itogo.html())
);
order_itogo_delivery.html(
parseFloat(msg.AmountPlusFSAmount)
);
+ //cart_itogo.html(
+ // parseFloat(msg.AmountPlusFSAmount) + parseFloat(cart_itogo.html())
+ //);
+ order_itogo_delivery_up.html(
+ parseFloat(msg.AmountPlusFSAmount)
+ );
});
} else {
diff --git a/static/less/_.css b/static/less/_.css
index 05f5dc4..9bca604 100644
--- a/static/less/_.css
+++ b/static/less/_.css
@@ -630,7 +630,7 @@ footer .footer-col {
margin-top: 10px;
background: none;
border-left: 1px #5e5e5e solid;
- height: 150px;
+ height: 100px;
}
footer .footer-col.col-last {
border-right: 1px #5e5e5e solid;
@@ -641,7 +641,7 @@ footer .footer-top {
background-color: #fed000;
}
footer .footer-bottom {
- height: 380px;
+ height: 330px;
color: #ffffff;
font-size: 12px;
}
@@ -663,14 +663,14 @@ html {
}
body {
/* Margin bottom by footer height */
- margin-bottom: 410px !important;
+ margin-bottom: 360px !important;
}
.footer {
position: absolute !important;
bottom: 0 !important;
width: 100% !important;
/* Set the fixed height of the footer here */
- height: 410px !important;
+ height: 360px !important;
}
.navbar-inverse {
background-image: -webkit-linear-gradient(top, #434a54 0%, #535b68 100%);
@@ -925,7 +925,11 @@ ul.messages {
margin-left: 15px;
}
#order-itogo-amount,
-#order-itogo-delivery {
+#order-itogo-delivery,
+#cart-itogo,
+#order-itogo-amount-up,
+#order-itogo-delivery-up,
+#cart-itogo-up {
font-size: 20px;
}
.well-large {
diff --git a/static/less/_.less b/static/less/_.less
index 6606ec6..b0b0587 100644
--- a/static/less/_.less
+++ b/static/less/_.less
@@ -454,7 +454,7 @@ footer {
margin-top: 10px;
background: none;
border-left: 1px darken(@gray, 30%) solid;
- height: 150px;
+ height: 100px;
&.col-last {
border-right: 1px darken(@gray, 30%) solid;
}
@@ -465,7 +465,7 @@ footer {
background-color: @brand-yellow;
}
.footer-bottom {
- height: 380px;
+ height: 330px;
//background-color: @brand-gray;
color: @white;
font-size: 12px;
@@ -491,7 +491,7 @@ html {
body {
/* Margin bottom by footer height */
- margin-bottom: 410px !important;
+ margin-bottom: 360px !important;
}
.footer {
@@ -499,7 +499,7 @@ body {
bottom: 0 !important;
width: 100% !important;
/* Set the fixed height of the footer here */
- height: 410px !important;
+ height: 360px !important;
}
.navbar-inverse {
@@ -798,7 +798,9 @@ ul.messages {
margin-left: 15px;
}
-#order-itogo-amount, #order-itogo-delivery{
+#order-itogo-amount, #order-itogo-delivery, #cart-itogo,
+#order-itogo-amount-up, #order-itogo-delivery-up, #cart-itogo-up
+{
font-size: 20px;
}
.well-large{